2.4.28 • Published 1 year ago
@juigorg/repellendus-repellat-dolore v2.4.28
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, moyuyc95@gmail.com.
License
MIT
2.3.23
1 year ago
2.3.20
1 year ago
2.3.22
1 year ago
2.3.21
1 year ago
2.3.17
1 year ago
2.4.28
1 year ago
2.3.16
1 year ago
2.3.19
1 year ago
2.3.18
1 year ago
2.4.25
1 year ago
2.4.24
1 year ago
2.4.27
1 year ago
2.4.26
1 year ago
2.4.23
1 year ago
2.3.15
1 year ago
2.3.13
1 year ago
2.3.12
1 year ago
2.3.14
1 year ago
2.3.11
1 year ago
2.3.10
1 year ago
2.2.10
1 year ago
2.2.9
1 year ago
2.1.9
1 year ago
2.1.8
1 year ago
2.1.7
1 year ago
2.1.6
1 year ago
2.1.5
1 year ago
2.1.4
1 year ago
2.1.3
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago