# rc-util **Repository Path**: mirrors_fis-components/rc-util ## Basic Information - **Project Name**: rc-util - **Description**: Fork from https://github.com/react-component/util.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rc-util --- Common Utils For React Component [![NPM version][npm-image]][npm-url] [![gemnasium deps][gemnasium-image]][gemnasium-url] [![node version][node-image]][node-url] [![npm download][download-image]][download-url] [npm-image]: http://img.shields.io/npm/v/rc-util.svg?style=flat-square [npm-url]: http://npmjs.org/package/rc-util [travis-image]: https://img.shields.io/travis/react-component/util.svg?style=flat-square [travis-url]: https://travis-ci.org/react-component/util [coveralls-image]: https://img.shields.io/coveralls/react-component/util.svg?style=flat-square [coveralls-url]: https://coveralls.io/r/react-component/util?branch=master [gemnasium-image]: http://img.shields.io/gemnasium/react-component/util.svg?style=flat-square [gemnasium-url]: https://gemnasium.com/react-component/util [node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square [node-url]: http://nodejs.org/download/ [download-image]: https://img.shields.io/npm/dm/rc-util.svg?style=flat-square [download-url]: https://npmjs.org/package/rc-util ## install [![rc-util](https://nodei.co/npm/rc-util.png)](https://npmjs.org/package/rc-util) ## Usage ```js import {shallowEqual} from 'rc-util'; console.log(shallowEqual({one: 1}, {one: 1})); ``` ## API ### shallowEqual:function ### KeyCode:enum enum of KeyCode ``` KeyCode.ENTER KeyCode.DOWN ``` ### guid:function return string represent a global unique id across current application ### createChainedFunction:function ### Dom.addEventListener:function ### Dom.contains:function ### Children.toArray transform React Children into Array type ## License rc-util is released under the MIT license.