Content pfp
Content
@
0 reply
0 recast
0 reaction

Sayonara pfp
Sayonara
@sayo
Do you still use redux/mobx libraries ? If yes? Why is tanstack/react-query not enough for you?
2 replies
0 recast
4 reactions

rapha pfp
rapha
@rapharrrr
Nope. When there's a need for a state management library I'm using Zustand. But regarding react-query, one of the maintainers wrote this article about why you might not need it. The TLDR is (and I quote): "if you're starting a new application, and you're using a mature framework like Next.js or Remix that has a good story around data fetching and mutations, you probably don't need React Query." My project is getting bigger and bigger by the day (I'm using server components, server actions, react cache function, all Next's invalidation tools, etc) and I still haven't found a real use case for react query. Maybe I will at some point. https://tkdodo.eu/blog/you-might-not-need-react-query
1 reply
0 recast
0 reaction

Sayonara pfp
Sayonara
@sayo
Nice, I use jotai in combo with react query for large project!!! Thanks for sharing!
0 reply
0 recast
1 reaction