{"id":17242788,"url":"https://github.com/imcuttle/rcp","last_synced_at":"2025-06-28T11:05:22.394Z","repository":{"id":32998795,"uuid":"147560824","full_name":"imcuttle/rcp","owner":"imcuttle","description":"Anything about React Component","archived":false,"fork":false,"pushed_at":"2024-02-27T06:37:40.000Z","size":1891,"stargazers_count":6,"open_issues_count":12,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T17:01:36.705Z","etag":null,"topics":["combination","helper","high-order-component","hoc","react","typescript","utility"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imcuttle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-05T18:16:35.000Z","updated_at":"2024-09-24T14:13:21.000Z","dependencies_parsed_at":"2024-06-21T17:40:05.783Z","dependency_job_id":"f6016fbc-7d46-42f1-9cf9-8649a93e9b34","html_url":"https://github.com/imcuttle/rcp","commit_stats":{"total_commits":207,"total_committers":5,"mean_commits":41.4,"dds":"0.22705314009661837","last_synced_commit":"2a52ea1de88f2821e60f785abb9ccb9efb2f8426"},"previous_names":[],"tags_count":276,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Frcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Frcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Frcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Frcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imcuttle","download_url":"https://codeload.github.com/imcuttle/rcp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248814759,"owners_count":21165822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["combination","helper","high-order-component","hoc","react","typescript","utility"],"created_at":"2024-10-15T06:14:04.428Z","updated_at":"2025-04-14T03:26:00.375Z","avatar_url":"https://github.com/imcuttle.png","language":"TypeScript","readme":"# rcp\n\n[![build status](https://img.shields.io/travis/imcuttle/rcp/master.svg?style=flat-square)](https://travis-ci.org/imcuttle/rcp)\n[![Test coverage](https://img.shields.io/codecov/c/github/imcuttle/rcp.svg?style=flat-square)](https://codecov.io/github/imcuttle/rcp?branch=master)\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)\n[![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nAnything about React Component\n\n## Develop\n\n```bash\ngit clone https://github.com/imcuttle/rcp.git\ncd rcp\nnpm install\nnpm run bootstrap\n```\n\n### New a package\n\nUse [edam](https://github.com/imcuttle/edam) for generating.\n\n```bash\nnpm run new\n# Or use edam-cli in straightway\nnpm i edam-cli -g\nedam\n```\n\n#### About package name\n\n- internal package\n\nshould be named as `_foo`, eg. `@rp/_types`.\n\n- utility package\n\nshould be named as `util.{{lowerCase}}`, eg. `@rp/util.displayname`.\n\n- hoc package\n\nshould be named as `hoc.{{lowerCase}}`, eg. `@rp/hoc.i18n`.\n\n- component package\n\nshould be named as `c.{{lowerCase}}`, eg. `@rp/c.text`.\n\n- React Hook related\n\nshould be named as `use.{{lowerCase}}`, eg. `@rp/use.i18n`.\n\n## Packages\n\n- [@rcp/c.keepalive](packages/c.keepalive) - Keep react component view / store when switched view.  \n- [@rcp/c.loadingwrapper](packages/c.loadingwrapper) - A component for easy create loading mask  \n- [@rcp/c.preventfastop](packages/c.preventfastop) - Prevent some fast operation (eg. click)  \n- [@rcp/c.prompt](packages/c.prompt) - Advanced React router prompt support beforeunload  \n- [@rcp/hoc.i18n](packages/hoc.i18n) - React Component's high order component about internationalization  \n- [@rcp/hoc.mount](packages/hoc.mount) - The high order component for mounting component  \n- [@rcp/hoc.uncontrolled](packages/hoc.uncontrolled) - The high order component for creating uncontrolled component  \n- [@rcp/use.behaviorsubject](packages/use.behaviorsubject) - use hook for rxjs behavior subject  \n- [@rcp/use.compareeffect](packages/use.compareeffect) - use custome compare effect  \n- [@rcp/use.fetcher](packages/use.fetcher) - async data fetcher  \n- [@rcp/use.forceupdate](packages/use.forceupdate) - forceUpdate like legacy react  \n- [@rcp/use.i18n](packages/use.i18n) - A react hook for using i18n  \n- [@rcp/use.i18ncontext](packages/use.i18ncontext) - A react hook for using i18n provider/consumer  \n- [@rcp/use.persistfn](packages/use.persistfn) - use persist fn  \n- [@rcp/use.persistref](packages/use.persistref) - Persist the ref value  \n- [@rcp/use.replacer](packages/use.replacer) - Replace runtime value as your wish  \n- [@rcp/use.shared](packages/use.shared) - shared value like recoil  \n- [@rcp/use.syncstorage](packages/use.syncstorage) - Sync state to storage  \n- [@rcp/use.uncontrolled](packages/use.uncontrolled) - Make props.value piped to state, and exposes `onChange`, make react component is **uncontrolled \u0026 controlled**  \n- [@rcp/util.createlogger](packages/util.createlogger) - Create namespace isomorphic logger  \n- [@rcp/use.valuesstate](packages/use.valuesstate) - The useful methods exported for values state  \n- [@rcp/util.displayname](packages/util.displayname) - The utility for getting display name  \n- [@rcp/util.createmount](packages/util.createmount) - The utility for creating mountable view  \n- [@rcp/util.iscompclass](packages/util.iscompclass) - The utility for checking component class  \n- [@rcp/util.open](packages/util.open) - Open react element standalone  \n- [@rcp/util.iselemof](packages/util.iselemof) - The utility determinating the input is element of the component class  \n- [@rcp/util.tocompclass](packages/util.tocompclass) - The utility converting stateless to be component class  \n\n\n## Authors\n\nThis library is written and maintained by imcuttle, [moyuyc95@gmail.com](mailto:moyuyc95@gmail.com).\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcuttle%2Frcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimcuttle%2Frcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcuttle%2Frcp/lists"}