@juigorg/repellendus-repellat-dolore
v2.4.28
Published
[![build status](https://img.shields.io/travis/juigorg/repellendus-repellat-dolore/master.svg?style=flat-square)](https://travis-ci.org/juigorg/repellendus-repellat-dolore) [![Test coverage](https://img.shields.io/codecov/c/github/juigorg/repellendus-repe
Downloads
24
Maintainers
Keywords
Readme
rcp
Anything about React Component
Develop
git clone https://github.com/juigorg/repellendus-repellat-dolore.git
cd rcp
npm install
npm run bootstrap
New a package
Use edam for generating.
npm run new
# Or use edam-cli in straightway
npm i edam-cli -g
edam
About package name
- internal package
should be named as _foo
, eg. @rp/_types
.
- utility package
should be named as util.{{lowerCase}}
, eg. @rp/util.displayname
.
- hoc package
should be named as hoc.{{lowerCase}}
, eg. @rp/hoc.i18n
.
- component package
should be named as c.{{lowerCase}}
, eg. @rp/c.text
.
- React Hook related
should be named as use.{{lowerCase}}
, eg. @rp/use.i18n
.
Packages
- @rcp/c.keepalive - Keep react component view / store when switched view.
- @rcp/c.loadingwrapper - A component for easy create loading mask
- @rcp/c.preventfastop - Prevent some fast operation (eg. click)
- @rcp/c.prompt - Advanced React router prompt support beforeunload
- @rcp/hoc.i18n - React Component's high order component about internationalization
- @rcp/hoc.mount - The high order component for mounting component
- @rcp/hoc.uncontrolled - The high order component for creating uncontrolled component
- @rcp/use.behaviorsubject - use hook for rxjs behavior subject
- @rcp/use.compareeffect - use custome compare effect
- @rcp/use.fetcher - async data fetcher
- @rcp/use.forceupdate - forceUpdate like legacy react
- @rcp/use.i18n - A react hook for using i18n
- @rcp/use.i18ncontext - A react hook for using i18n provider/consumer
- @rcp/use.persistfn - use persist fn
- @rcp/use.persistref - Persist the ref value
- @rcp/use.replacer - Replace runtime value as your wish
- @juigorg/repellendus-repellat-dolore - shared value like recoil
- @rcp/use.syncstorage - Sync state to storage
- @rcp/use.uncontrolled - Make props.value piped to state, and exposes
onChange
, make react component is uncontrolled & controlled - @rcp/util.createlogger - Create namespace isomorphic logger
- @rcp/use.valuesstate - The useful methods exported for values state
- @rcp/util.displayname - The utility for getting display name
- @rcp/util.createmount - The utility for creating mountable view
- @rcp/util.iscompclass - The utility for checking component class
- @rcp/util.open - Open react element standalone
- @rcp/util.iselemof - The utility determinating the input is element of the component class
- @rcp/util.tocompclass - The utility converting stateless to be component class
Authors
This library is written and maintained by imcuttle, [email protected].
License
MIT