Using SWR to transfer state without a fetcher #2846
Unanswered
AndreyGrek
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is no information in the documentation about using SWR as a state manager, that is, using it without a fetcher to simply eliminate prop drilling. I already use this in my pet project, but I work in an enterprise and they are afraid to use something in a different way that is not written in the documentation.
So, is it possible to use SWR to transfer state without a fetcher? And if so, is it possible to make this note in the documentation?
Beta Was this translation helpful? Give feedback.
All reactions