Skip to content

fed/redux-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redux Example: Implementing Redux from Scratch

Redux

The intent of this project is to provide a minimal re-implementation of the Redux API and the bindings for React, 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

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.

License

MIT