[Original post on mastodon.social]
[Original post on mastodon.social]
It’s an implementation-focused walkthrough on server-side pre-fetching, hydration, and reusing data on the client without duplicate API calls.
Link👇
pranavpatani.hashnode.dev/react-query-...
#NextJS #ReactQuery #WebDev #Frontend
It’s an implementation-focused walkthrough on server-side pre-fetching, hydration, and reusing data on the client without duplicate API calls.
Link👇
pranavpatani.hashnode.dev/react-query-...
#NextJS #ReactQuery #WebDev #Frontend
Talk by Faris Aziz
Watch here: youtu.be/Kne5dgx4v4Q
#cityjs #javascrity #react #nextjs #backend #webdev
Talk by Faris Aziz
Watch here: youtu.be/Kne5dgx4v4Q
#cityjs #javascrity #react #nextjs #backend #webdev
#TypeScript #ReactQuery #ErrorHandling
#TypeScript #ReactQuery #ErrorHandling
🚀 Simplify data fetching with seamless integration.
Try it now: npmix.com/blog/how-to-...
#NextJS #ReactQuery #WebDev #React
🚀 Simplify data fetching with seamless integration.
Try it now: npmix.com/blog/how-to-...
#NextJS #ReactQuery #WebDev #React
Lightweight, fast, and no boilerplate. Manage client & server state like a pro.
Read the guide: www.npmix.com/blog/zustand...
What’s your state management stack?
#ReactJS #WebDev #Zustand #ReactQuery
Lightweight, fast, and no boilerplate. Manage client & server state like a pro.
Read the guide: www.npmix.com/blog/zustand...
What’s your state management stack?
#ReactJS #WebDev #Zustand #ReactQuery
🔗 Link: https://www.reddit.com/r/sapui5/comments/1l7u27u/sap_ui5_roadmap_with_a_front_end_developer/
🔗 Link: https://www.reddit.com/r/sapui5/comments/1l7u27u/sap_ui5_roadmap_with_a_front_end_developer/
RefetchType:active allows you to refetch invalidated queries when that query is mounted anywhere in the UI.
It helped me solve a nasty bug in my work project.
#reactquery #tanstackquery
RefetchType:active allows you to refetch invalidated queries when that query is mounted anywhere in the UI.
It helped me solve a nasty bug in my work project.
#reactquery #tanstackquery
hasseebmayo.com/blogs/smarter-…#TypeScriptp#ReactJSJ#WebDevelopmentn#FrontendDevelopmentn#ReactQueryr#reactct
hasseebmayo.com/blogs/smarter-…#TypeScriptp#ReactJSJ#WebDevelopmentn#FrontendDevelopmentn#ReactQueryr#reactct
Stop writing:
🔁 Repetitive fetch code
😵💫 Manual loading/error handling
🧊 No caching
Start using:
⚡ Built-in caching
♻️ Background refetch
📊 Devtools
📦 TanStack Query = Smart data fetching in React
#ReactJS #TanStackQuery #ReactQuery
Stop writing:
🔁 Repetitive fetch code
😵💫 Manual loading/error handling
🧊 No caching
Start using:
⚡ Built-in caching
♻️ Background refetch
📊 Devtools
📦 TanStack Query = Smart data fetching in React
#ReactJS #TanStackQuery #ReactQuery
At least fixed the re-renders in my case 🤓
#ReactJS #ReactQuery
At least fixed the re-renders in my case 🤓
#ReactJS #ReactQuery
🍃 Spent most of my day messing w/ reactQuery only to accept that it won't work for this😔 I'll have to use SWRinfinite
🟢 it doesn't concat the new fetch into the cache, instead the cache is made up of subarrays of each fetch
🟢tried useQuery and infiniteQuery
🍃 Spent most of my day messing w/ reactQuery only to accept that it won't work for this😔 I'll have to use SWRinfinite
🟢 it doesn't concat the new fetch into the cache, instead the cache is made up of subarrays of each fetch
🟢tried useQuery and infiniteQuery
`npm i react-query`
...but wtf do I know.
`npm i react-query`
...but wtf do I know.
Definitely worth a read!👇
🔗 tkdodo.eu/blog/react-q...
#ReactQuery #TanstackQuery #react
Definitely worth a read!👇
🔗 tkdodo.eu/blog/react-q...
#ReactQuery #TanstackQuery #react
Then I learned about React Query. So now, I’m rewriting all the relevant useEffect’s into React Query hooks to query and mutate data.
#dev #ReactQuery
Then I learned about React Query. So now, I’m rewriting all the relevant useEffect’s into React Query hooks to query and mutate data.
#dev #ReactQuery
#ReactQuery #ReactJS #DevTools
#ReactQuery #ReactJS #DevTools
tkdodo.eu/blog/practic...
No matter how many times I use ReactQuery, my brain always got confused between “staleTime” and “gcTime” (aka. “cacheTime”), so I have to come back and read it again 😂
tkdodo.eu/blog/practic...
No matter how many times I use ReactQuery, my brain always got confused between “staleTime” and “gcTime” (aka. “cacheTime”), so I have to come back and read it again 😂