Redux is one of the most beautiful implementations of flux design pattern that implements one-way data flow. since I like to build my own version of every library I learn to better understand it. In this section, I want to run a simple example of a Redux library for myself. I'm glad to know your opinion :)
- install node js on your computer.
- install npm
first download or clone this project and open it in your code editor and open the terminal and run this line:
npm install
- implementation redux
- implementation react-redux
If you are interested in this repository, you can see the rest of my repositories
NAME | REPOSITORY |
---|---|
My-React-Router | [simple-client-side-routing-like-React-Router] |
Custom-module-system | [custom-module-system-like-commonjs] |
Task-Managment-App | [task-managment-app-redux] |
X-Coin-Game | [xcoin-javascript-game] |
A-Programming-Language | [Egg-programming-language] |
Mailing-Robot | [Mailing-robot] |
As I use this for my own projects, I know this might not be the perfect approach for all the projects out there. If you have any ideas, just open an issue and tell me what you think.
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
This project is licensed under MIT license.
- email: milad.xsar72@gmail.com