Skip to content

Use react-query as a context provider for local data #489

Answered by morellodev
dpyzo0o asked this question in General
Discussion options

You must be logged in to vote

Though it works, this is not the use case react-query has been built for. There are other libraries highly optimized for managing the state globally, here I list just a few:

Replies: 5 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@naomei
Comment options

Comment options

You must be logged in to vote
4 replies
@smooJitter
Comment options

@tommmyy
Comment options

@TkDodo
Comment options

@JuanmaMenendez
Comment options

Answer selected by tannerlinsley
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@JuanmaMenendez
Comment options

@TkDodo
Comment options

@gitcatrat
Comment options

Comment options

You must be logged in to vote
4 replies
@TkDodo
Comment options

@ivan-kleshnin
Comment options

@Martynas-K
Comment options

@lorkel
Comment options

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