I made a simple chat/list application to test what i know about React/Redux. Master is pure React and the redux branch is both React and Redux.
If you'd like to run this application:
- clone and go into the repo
npm install -g webpack
andnpm install -g nodemon
- run
npm install
andnpm run watch
- open the index.html in your browser
- Enjoy!
My reflections after a day working on this:
-- JavaScript requires more configuration than I'm used to with Rails
-- Managing state with Redux may be overengineering in this case, but it wasn't that hard to set up the store. Reducers could get messy.
-- It's fast
What I'd like to try next:
-- Add tests and propTypes validations
-- Organize Reducers
-- Rails Backend
-- Host it