Open bbrock25 opened 8 years ago
Do we want to use redux middleware to interact with various API's?
http://redux.js.org/docs/recipes/ReducingBoilerplate.html
I'm not quite sure how much this buys us, but it could be nice to not have to do the fetch -> then -> catch in our action creators.
fetch -> then -> catch
Yeah. Another good reason to do this is if we have a REST API vs WebSocket vs GraphQL setup. Each deployment can then choose which middleware to use.
Do we want to use redux middleware to interact with various API's?
http://redux.js.org/docs/recipes/ReducingBoilerplate.html
I'm not quite sure how much this buys us, but it could be nice to not have to do the
fetch -> then -> catch
in our action creators.