verypossible / rn-booster-kit

React Native Booster Kit
MIT License
2 stars 0 forks source link

Http Middleware #6

Open bbrock25 opened 8 years ago

bbrock25 commented 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.

jasontwong commented 8 years ago

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.