It's like the layout.tsx , it takes a children node and you still use react hooks and providers ( work only in client component) and it works, same concept
@MohammadBarghamadii7 күн бұрын
Thank you so much
@TabuHana8 күн бұрын
I was about to crash out. Ty bro
@techug271920 күн бұрын
I am happy to say that i am using the latest version of next js and with some minor tweaks this has managed to help me so so much My thanks kind gentleman
@frikitdotnet20 күн бұрын
thank you man
@t.m.500424 күн бұрын
Hey man, you are the best!!! You just saved me from banging my head against the wall for 12 straight hours!!!! I just subscribed to you!
@aliallouch25 күн бұрын
King
@lawaloladimeji533425 күн бұрын
You are too slow, not expressive. Just bored the hell out of me throughout the video
@el_mahnuel5 күн бұрын
Bruuuh! You do realise you can speed up the video right?
@jellyfish1772Ай бұрын
Thanks!
@AlejandroDeLucaАй бұрын
Great explanation. I didn't know about values. I was using defaultValues. IMHO is a bit confusing API but a great library though. Thanks!
@nghiepnguyen5920Ай бұрын
Do you have a video that explains how to use Tanstack for SSR?
@oskarpuchalskiАй бұрын
No I don't, but I will think about creating one!
@user-bd9sj8jq2mАй бұрын
Hello, im viewer in korea. Thanks for posting this video. it was helpful
@oskarpuchalskiАй бұрын
I'm glad it helped you!
@vanhongaunguyen9584Ай бұрын
perfect, thanks guy ❤
@farazaliahmad5226Ай бұрын
I am implementing the redux-toolkit in next.js and we have to wrap the children in Provider, a client component. I did some tests and found out that still my pages are rendered in the server component. But why is this happening ?
@justwanderin8472 ай бұрын
did you show which AI are you using? claud, gtp4, mistral ?
@oskarpuchalskiАй бұрын
I'm using free version so I can use only the default one which is model from Perplexity team. I guess it's called sonnar.
@nolep55552 ай бұрын
maybe you wrong sharing the repository
@Lethionline2 ай бұрын
tks for sharing
@oskarpuchalski2 ай бұрын
Sure, glad it helped you!
@Aditya-lc5uk2 ай бұрын
This helped !! thanks a lot :)
@ahmadbaghereslami7962 ай бұрын
thanks a lot
@liviusosu17242 ай бұрын
nice video, it works for me. Thanks! :)
@blackbeans31122 ай бұрын
Thanks for this bro.. It really helps me.. logged in like github or google is the same to implement on this in middleware?
@oskarpuchalski2 ай бұрын
Glad it helped! Not really, when you want to login with github or google you need to keep session somewhere for example in database. You could use clerk to let them handle that for you or use library like next-auth to help you handle that.
@blackbeans31122 ай бұрын
@@oskarpuchalski After i grab the data of github or google account.. all the session of github or google must store in database and not include the exp date or include it? the backend will usually the one who set the exp date? or the frontend
@clickbaitpolice979217 күн бұрын
@@blackbeans3112 mate, I'd just use Supabase as your backend and that has guides on implementing auth and OAuth. there's a lot of documentation on it
@amirhoseinsalehiirca2 ай бұрын
Helped me a lot, thanks dear!
@alexanderbrewster35952 ай бұрын
Thanks for the help
@user-nl3uu9cx3x2 ай бұрын
Thank you you helped me a lot !!
@yurimascarenhas79472 ай бұрын
i was trying on my code, but the provider shows an error all time, can you help me?
@oskarpuchalski2 ай бұрын
Sure, what error does it shows to you? Maybe you forgot to use 'use client' in component that uses redux iteself?
@gr8tbigtreehugger2 ай бұрын
Many thanks for this helpful video!
@bukangarii3 ай бұрын
noice
@playersdreams64963 ай бұрын
of corse vrey important is to make store and work with it on client side on Next app with SSR????? Rename video
@oskarpuchalski3 ай бұрын
Why you think so? You can use both SSR and client side store for example for complex client side user interactions and logic and avoiding prop drilling.
@rohanagrawal57473 ай бұрын
thanks man really thanks thats exactly what i neeeded thanks man you made my day
@AliHaseni203 ай бұрын
bruh, stop using the f******g tsx .
@kartikeysahu17533 ай бұрын
redux-toolkit.js.org/usage/nextjs#introduction This article suggests that we create redux store per request. I'm unable to understand what the actual reason behind it. The article doesn't explain it well (or am I too dumb to get it?), whatever the reason, could you illustrate few examples to make me understand when and when not the store be made global (or per request)
@weeseenman22483 ай бұрын
This is a very effective trick that we can't find everywhere. Thanks a lot!
@huseyinlora3 ай бұрын
What is your vscode theme, can u share pls?
@thommy_803 ай бұрын
Thx...this helped me a lot...
@user-it9oz1vd5t3 ай бұрын
I would like to a see how you hydrate data?
@Pescado923 ай бұрын
You saved my life :)
@user-il7rz1kx2e3 ай бұрын
watched 5 hrs. videos so far, and you 10 min video finally made able to do it, thank you
@oskarpuchalski3 ай бұрын
You're welcome, I'm glad it helped!
@paragonparagon15674 ай бұрын
Thank you it really helped 💯
@gravellife56434 ай бұрын
If you are building a NextJS application then you should consider server side fetching as the default choice.
@oskarpuchalski4 ай бұрын
Why do you think so? In my opinion, it's really based on your use case, not the technology you use.
@gravellife56434 ай бұрын
@@oskarpuchalski Also you can't use edge function and its power.
@kelwinburatto92594 ай бұрын
Thanks for this, love your tutorial! help me a lot!!! regards from Brazil!
@soufiane37554 ай бұрын
thank you so much
@romanmed90354 ай бұрын
can You show version of next? can you show this complite source?
@volfcan83304 ай бұрын
that was pretty concise explanation, appreciated!
@Julia-ly5ec4 ай бұрын
thank you!!! It helped me to load the correct data! Couldn't achieve that with defaultValues
@what_is_lovechik5 ай бұрын
It there any way to use client state at server component (on server side)? For example, I have user in my store and I need some user's data to make fetch from server component to API endpoint like /api/users/userIdFromStore. Because I don't want to use stuff like RTK query to make fetch from client side. I want to make that at server and give my client ready to use page
@Victor-lb5cv5 ай бұрын
Thank you!
@fakhrulislamfuad80725 ай бұрын
Nice work dude... I need a help regarding the props passing from client to server components in this approach. Can you help me with that? TYSM in advance😀😀
@mdrahinzaman19806 ай бұрын
Thanks a lot man. This helped me up with my 2hrs of struggle with defaulValues. 😁😁 I'm subscribing. ♥