blog/why-you-want-react-query #100
Replies: 11 comments 18 replies
-
Well, I'd say 2 & 3 are both missing features and not bugs. |
Beta Was this translation helpful? Give feedback.
-
folks, this is scratching the surface. react-query is amazing in so many ways. i am never going back. my favorites:
react-query made react a lot more enjoyable for me again. almost all of my code is a lot more straightforward and declarative. |
Beta Was this translation helpful? Give feedback.
-
I was a pretty early adopter of react query (tanner showed a handful of us at ui.dev). Every single person i've shown it to, has joined the cult. Great read, as always Tk. |
Beta Was this translation helpful? Give feedback.
-
Nice stuff, I want to use React Query. But you have a state bug on you blog ;) When entering the site with system setting set to dark mode I see the moon and not the sun. Perhaps a use case for react query ;) :D |
Beta Was this translation helpful? Give feedback.
-
I wonder is there any difference between Is there any recommend way? |
Beta Was this translation helpful? Give feedback.
-
Hey there, really enjoy(ed) reading your blog posts on React Query! I was wondering is it possible to extract a useMutation function outside of the component? |
Beta Was this translation helpful? Give feedback.
-
Great article! Not really a bug per-se, but this will also trigger the following warning if the component unmounts before the fetch resolves:
I say this isn't a bug because it's really just React overreacting with a dramatic warning, but it easily could turn into a memory leak if you replaced the async fetch with a subscription. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Great article, I love react-query. |
Beta Was this translation helpful? Give feedback.
-
What is used to fetch data in useQuery under the hood? Isn't it useEffect after all? Btw, I used React Query a long time ago when it was still called React Query. I appreciate what you do to make dealing with React less overwhelming. 🙏 |
Beta Was this translation helpful? Give feedback.
-
I love it! |
Beta Was this translation helpful? Give feedback.
-
blog/why-you-want-react-query
Let's take a look at why you'd want a library like React Query, even if you don't need all the extra features it provides...
https://tkdodo.eu/blog/why-you-want-react-query
Beta Was this translation helpful? Give feedback.
All reactions