₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,070 members, 8,448,536 topics. Date: Monday, 20 July 2026 at 01:17 PM

Toggle theme

Redux RTK Vs React Query For Fetching Data And Inifiite Scroll - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingRedux RTK Vs React Query For Fetching Data And Inifiite Scroll (792 Views)

1 Reply (Go Down)

Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by SqueezedPant(op): 5:50pm On Sep 13, 2023
Which do you prefer , i prefer React Query to redux
React Query + server actions

Why i like it:
You can hydrate directly from the server components react query hooks and the client updates itself immediately after it has hydrated

I don’t know if it can be performed with RTK tho never tried it out, which do you prefer and wyy
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by LikeAking: 6:26pm On Sep 13, 2023
I prefer all of them..


Never a fan of the tech industry and their endless flashy techs..

I use whatever….

I discovered whatever you use, will not gurrante anything…

I focus my energy on the basics, marketing and business side of tech..
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by LikeAking: 6:27pm On Sep 13, 2023
Tech has made a simple thing like fetching data look like one big thing…


To hell with their flashy techs, with 12 months life span…
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Davidcorny: 9:10pm On Sep 13, 2023
LikeAking:
Tech has made a simple thing like fetching data look like one big thing…


To hell with their flashy techs, with 12 months life span…
Graphql looking at you from the corner.
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by SqueezedPant(op): 12:03pm On Sep 14, 2023
LikeAking:
Tech has made a simple thing like fetching data look like one big thing…


To hell with their flashy techs, with 12 months life span…
I understand your point but using libraries dedicated for fetch is better than the default fetch alone esp for big web applications

Things like revalidate , caching , fetching on server side can’t be done with the default fetch alone
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by SqueezedPant(op): 12:05pm On Sep 14, 2023
LikeAking:
I prefer all of them..


Never a fan of the tech industry and their endless flashy techs..

I use whatever….

I discovered whatever you use, will not gurrante anything…

I focus my energy on the basics, marketing and business side of tech..
Opposite for me here , i prefer the tech and coding aspect , i am not intrested in any executive position even if they bring more money
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Brogrammer(m): 3:49pm On Sep 14, 2023
To those interested, I recently published an article on "how to build an infinite scrolling news feed with NextJs 13 server actions".

Here's the link to the article: https://qdus.hashnode.dev/build-an-infinite-scrolling-news-feed-with-nextjs-13-server-action

The live version: https://infinite-scroll-news-feed(.)vercel(.)app/

I also use react-query "useInfiniteQuery" to implement another version of the infinite scroll... It's all in the source code which can be found in the article
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Deicide: 8:57pm On Sep 16, 2023
React Query does not fetch data
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Capslock01: 7:16pm On Sep 18, 2023
Deicide:
React Query does not fetch data
Don't know what you mean but React-Query handles data fetching amongst other thing.

https://tanstack.com/query/latest/docs/react/guides/queries
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Deicide: 7:42pm On Sep 18, 2023
Capslock01:
Don't know what you mean but React-Query handles data fetching amongst other thing.

https://tanstack.com/query/latest/docs/react/guides/queries
React Query is an aysnc state manager. It doesn't fetch data. What fetches data is axios or fetch.
Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Capslock01: 8:12pm On Sep 18, 2023
Deicide:
React Query is an aysnc state manager. It doesn't fetch data. What fetches data is axios or fetch.
Lol. Okay
1 Reply

React + Css Vs React + Tailwindcss Which Do You Prefer??Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures)Flutter Vs React Native Vs Xamarin For Cross Platform Development234

I have a few app ideas i am interested in developing, lets work togetherPls, Help Me Out With Machine LanguageRelated To Html And Java Script?