bare-minimum-react-hot-rr4-redux
bare-minimum-react-hot-rr4-redux copied to clipboard
Webpack2 + HMR + ReactHotLoader3 + ReactRouter4 + Redux
An absolute bare minimum implementation of HMR + ReactHotLoader in Webpack2 in combination with ReactRouter4 and Redux
Build/Run
npm install
npm run dev
Test
- Navigate to http://localhost:8080
- Enter a value into the input field
- Update the source in
./components/Page1
- Witness the glory; the local state is also retained (input value)
- Click the
page2
link - Click the
Increment
button - Open
ReduxDevTools
and view the history
TODO
- Integrate
react-router-redux
when ReactRouter4 is compatible