Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andycall/rcre
Build complex applications without pain
https://github.com/andycall/rcre
high-order-component react redux state-management
Last synced: 5 days ago
JSON representation
Build complex applications without pain
- Host: GitHub
- URL: https://github.com/andycall/rcre
- Owner: andycall
- License: mit
- Created: 2019-03-10T16:50:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:28:42.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T02:11:33.565Z (12 days ago)
- Topics: high-order-component, react, redux, state-management
- Language: TypeScript
- Homepage: https://andycall.github.io/RCRE/
- Size: 3.1 MB
- Stars: 667
- Watchers: 7
- Forks: 10
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![](https://user-images.githubusercontent.com/4409743/57827197-0e1e8300-77d9-11e9-9346-166363aeebcd.png)
[![CircleCI](https://circleci.com/gh/andycall/RCRE.svg?style=svg)](https://circleci.com/gh/andycall/RCRE)
[![Stable Release](https://img.shields.io/npm/v/rcre.svg)](https://npm.im/rcre)
[![gzip size](http://img.badgesize.io/https://unpkg.com/rcre@latest/dist/index.js?compression=gzip)](https://unpkg.com/rcre@latest/dist/index.js)
[![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)
[![coverage](https://img.shields.io/codecov/c/github/andycall/RCRE/master.svg)](https://codecov.io/gh/andycall/RCRE)
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/rcre/localized.svg)](https://crowdin.com/project/rcre)## What is RCRE?
Everyone loves to use React to build apps, it's elegant and wonderful. But React doesn't tell you how to build a complex web application.
When an application becomes very complex, various issues arise, such as the state of the component, the relationship between the components, how to organize the API request, and how to handle form validation and submission. If you don't have a lot of experience to deal with these issues, your code will get worse and the bug will always be with you.
RCRE is a library that designed to make it easy for everyone to handle the above issues. It uses completely new design to make some complex problems easier. It has only a few React components, and you only need to known is write simple configuration and components to get everything done.
RCRE provide 5 powerful features that help you build your application right.
1. Manage your component and application's state without writing action and reducers.
2. Manage your API and trigger them automatically based on your component's state.
3. Always keep your state immutable and not easy to break it.
4. State change trigger form validation automatically.
5. A task controller can help you separate complex user interactions into pure small tasks and assemble them with a simple config.## Getting Started
https://andycall.github.io/RCRE/docs/en/overview
## In-browser Playgrounds
You can play with RCRE in your web browser with these live online playgrounds.
+ [CodeSandbox](https://codesandbox.io/s/pywlq1vqq0)
## Examples
+ [Counter](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/counter)
+ [Todos](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/todos)
+ [Keep All state immutable](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/immutable)
+ [AutoClear when destroy](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/component-auto-clear)
+ [Multi Container](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/multi-container)
+ [Container Inheritance](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/container-inheritance)
+ [Pass Tasks](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/pass-tasks)
+ [Task Group](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/task-group)
+ [Simple Search](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/simple-search)
+ [Combine Search](https://codesandbox.io/s/github/andycall/RCRE/tree/master/examples/combine-search)
## Authors+ andycall [@andycall](http://github.com/andycall)
## LICENSE
MIT