Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 863 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 863 Bytes

react-redux-todo-demo

This is a demo app based on the todomvc example in the redux source code.

Running the app

First, npm install all of the dependencies. Then, run npm start to spin up a nodemon server at port 3000.

Hot module reloading

Webpack traverses all of the Javascript files (starting with client/client.js and moving through the import and/or require statements) and bundles them into one file called bundle.js. bundle.js is then loaded by a script tag in the index.html. The server currently has webpack's hot module reloading middleware set up, meaning that any changes to react/redux code will not trigger a complete re-bundle, but rather will update "inline" and the changes will be immediately reflected in the browser.