Skip to content
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

Support finer control of which hooks to reload() #9

Open
andreasrs opened this issue Oct 15, 2016 · 0 comments
Open

Support finer control of which hooks to reload() #9

andreasrs opened this issue Oct 15, 2016 · 0 comments

Comments

@andreasrs
Copy link
Contributor

We currently get reload() exposed for refreshing the fetched data which is pretty awesome.

In some cases it would be nice to be able to specify a subset of the hook data to refresh. This could look something like this, with an optional parameter hookNames for example.
reload(['fetch']); would only reload data for the fetch hook and leave the others as-is.

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

No branches or pull requests

2 participants