developit / preact-redux-example

:repeat: Preact + Redux Example Project
https://preact-redux-example.surge.sh
199 stars 53 forks source link

An example including async API call? #10

Open jeberly opened 6 years ago

jeberly commented 6 years ago

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 is the most straight forward option.

Thanks in advance!

developit commented 6 years ago

Admittedly, I'm probably not the best person to ask about this - perhaps someone will see this and submit a PR that helps us out!

jeberly commented 6 years ago

Do you have any personal preferences for state management? Just discovered after creating this issue, that you created https://github.com/developit/unistore as well (you are busy!), looks great. I assume that is your preference? I am after a redux style library with limited boilerplate, have no strong opinions already.

Thanks again for preact, et al.