You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
I think the proper way to handle this is internally, at least as a first stab. If something that we return from the hook is stale it's because something they gave us has changed, so it's our responsibility to implement that in the hook itself.
Specific example, when the branch changes on the Tina client, we should reset everything. This api:
Feels like we're passing that off to the user too much. I feel like if we do support a dependencies argument it would have to be for more one-off use cases a developer might need - so in saying that, I'd like to get more examples of when that would be.
EDIT: I've created an issue for this specific example #278
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice if we could have some outside control other then the query string to cause the hook to be re-run.
Basic idea
or maybe
When thing one or thing two is updated then the hook will re-run.
This was my (bad) temporary work around
The text was updated successfully, but these errors were encountered: