Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Write a custom API middleware instead of the promiseMiddleware library #9

Open
janhoogeveen opened this issue Mar 21, 2017 · 1 comment

Comments

@janhoogeveen
Copy link
Contributor

We're using the promiseMiddleware library mostly so we can do API calls and resolve those before starting a render on the server. In the Redux documentation there is a beautiful example of how to abstract away an API call.

http://redux.js.org/docs/recipes/ReducingBoilerplate.html#async-action-creators

@nickrttn
Copy link
Contributor

nickrttn commented Oct 9, 2017

https://github.com/NYTimes/redux-taxi might be a good option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants