Closed rynocouse closed 6 years ago
This is fixed in the fix-reducer-example branch https://github.com/MadeInHaus/react-redux-webpack-starter/tree/fix-reducer-example. Would also like to add an example of a state setter/action before making a PR. Suggestions on what that should be?
@stevescavo @rynocouse
I'd like to see samples of a few typical things like: async fetch, some ui state and maybe a input of sorts? this all might be too much sample code
I think async for sure and something simple like UI state. We should do it in one component so its easy to tear out. Also a selector. I dont think we need a user input, with the other 2 examples you should be able to deduce how to send a value via an action creator to your reducer
https://github.com/MadeInHaus/react-redux-webpack-starter/blob/a6088771b2d0d1c694372e7e1c95b391269b7143/src/reducers/app.js#L11