Skip to content

Consider a variation of the simple example with react-refetch #184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
justin808 opened this issue Dec 20, 2015 · 3 comments
Closed

Consider a variation of the simple example with react-refetch #184

justin808 opened this issue Dec 20, 2015 · 3 comments

Comments

@justin808
Copy link
Member

This seems relatively popular: https://github.com/heroku/react-refetch

This would be a nice alternative to showing redux vs. simple. This is in between.

@geoffevason @robwise What are your thoughts on this one?

@MaMute Are you interested in giving this a try?

@robwise
Copy link
Contributor

robwise commented Dec 20, 2015

@justin808 I've been reading the docs trying to wrap my head around it. It seems like this relies heavily upon React Router to determine when it needs to refetch (it uses the change of URL as well as the params in the URL to know when and what to refetch)? I'm always open to new tech I guess.

@marcusvmsa
Copy link
Contributor

@justin808 sure 👍

@justin808
Copy link
Member Author

however, if your application is mostly fetching and rendering read-only data from a server, it can over-complicate the architecture to fetch data in actions, reduce it into the store, only to select it back out again.

This example shows data entry, so closing this one.

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

No branches or pull requests

3 participants