Great stuff. Glad I found a Swedish content creator on these topics. :) I'm transitioning from a Angular dev (for work) to React/NextJs for some hobby projects, so this is really nice to see! One question: What are you really using TanStack query for if we need to use the nextjs fetch?
Great question =) This was just a "test" from my part ... when it was just released. For now, Tanstack Query is only client based. So it is useful if you have a lot of fetches that needs to be done on the client. I think a big pro with Tanstack Query is the caching part ... so you have to weigh in pros and cons.
Did you notice any performance improvements? We have similar app of yours image-rich type of and were thinking to take the step after the poor mobile performance score on 3G... thanks!
Hey and thanks ... I've just had to spend a lot of time on my day job, and my music. So hard to free time for my RUclips channel. But hopefully I'll come up with something in the near future.
Wow, this is quite a change. I like it. Looks like they are taking a leaf out of Remix too
I learned a lot. Here I am subscribed and follower on LinkedIn. Thanks Thomas !
Great stuff. Glad I found a Swedish content creator on these topics. :) I'm transitioning from a Angular dev (for work) to React/NextJs for some hobby projects, so this is really nice to see! One question: What are you really using TanStack query for if we need to use the nextjs fetch?
Great question =) This was just a "test" from my part ... when it was just released. For now, Tanstack Query is only client based. So it is useful if you have a lot of fetches that needs to be done on the client. I think a big pro with Tanstack Query is the caching part ... so you have to weigh in pros and cons.
if you use usequery proveider as client component, will it impact on server fetching in children page?
Really useful video :) thank you!
Thank you so much. It's rally helpful and necessary.
At the moment, type assertion is the only way to set a type on Next13?
amazing content! much appreciated
great vid! btw, which theme are you using?
OneMonokai80s
Hi, thanks for the video! What font do you use?
Operator mono
Did you notice any performance improvements? We have similar app of yours image-rich type of and were thinking to take the step after the poor mobile performance score on 3G... thanks!
tbh I haven't really measured. It was pretty fast before also =)
you use react query but you did not use the useQuery? if you tried it wont work
I use useInfiniteQuery inside fetchHooks.ts
I'am wondering, does by wrapping ReactQueryWrapper make all children passed a client component instead?
The ReactQueryWrapper are doing just that ... wrapping the children with the queryClient so that React-Query can be used on the pages.
I am actually running into this issue now. Having queryclientprovider at the base makes all the children client side rendered
Hi, where are you?
Hi Weibenfalk, no new videos coming from this channel, at least give a reply to this comment that you are fine.
Hey and thanks ... I've just had to spend a lot of time on my day job, and my music. So hard to free time for my RUclips channel. But hopefully I'll come up with something in the near future.