preact-redux-example
preact-redux-example copied to clipboard
:repeat: Preact + Redux Example Project
https://github.com/developit/preact-redux-example/blob/66590ec786df463b790b0603361ef21e3e178736/src/store.js#L6 `the reducer must be pure. Given the same arguments, it should calculate the next state and return it. No surprises. No side effects. No API calls. No mutations. Just...
I know there are so many options for async redux, but would be nice to have an example of making an async API call using redux-promise-middleware or redux-saga or whatever...
i have an example of this with rollup if you're interested