https://github.com/fed/redux-from-scratch
Implementing redux, react-redux and redux-thunk from scratch
https://github.com/fed/redux-from-scratch
react react-redux redux redux-thunk state-management
Last synced: about 2 months ago
JSON representation
Implementing redux, react-redux and redux-thunk from scratch
- Host: GitHub
- URL: https://github.com/fed/redux-from-scratch
- Owner: fed
- License: mit
- Created: 2017-01-11T04:24:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-06T18:14:26.000Z (about 8 years ago)
- Last Synced: 2025-01-18T13:33:11.097Z (3 months ago)
- Topics: react, react-redux, redux, redux-thunk, state-management
- Language: JavaScript
- Homepage: https://medium.com/@fknussel/redux-3cb5aac94a66
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redux Example: Implementing Redux from Scratch

The intent of this project is to provide a minimal re-implementation of the [Redux API](http://redux.js.org/docs/api/index.html) and the [bindings for React](https://github.com/reactjs/react-redux), in order to get a deeper understanding of the magic Redux is doing under the hood.
This implementation is of course simpler than the one on the original libraries — we won't be handling errors nor displaying neat error messages to the user when something goes wrong. We'll only cover the "happy path" of creating a store, dispatching actions, reading the state tree and subscribing to changes in the store by connecting container components to it.
## Prerequisites
* Node.js (https://nodejs.org/)
* Yarn (https://yarnpkg.com/)## Development Tasks
| Command | Description |
|---------|-------------|
| `yarn install` | Fetch dependencies and build binaries for any of the modules |
| `yarn start` | Fire up Webpack Dev Server, app will go live on `http://localhost:3000` |
| `yarn run build` | Create a production build |
| `yarn test` | Run test suite |This project was bootstrapped using [create-react-app](https://github.com/facebookincubator/create-react-app).
## License
MIT