React Server Components Made Easy(With Examples and Demo)

  Рет қаралды 14,978

tapaScript by Tapas Adhikary

tapaScript by Tapas Adhikary

Күн бұрын

Пікірлер: 111
@naijabuzz300
@naijabuzz300 11 ай бұрын
I cant wait for this channel to get the recognition and awareness it deserves. I am speechless. Thanks for your awesome videos as always. Let's get this channel to 100K subscribers guys, to also help other developers find this content and help them out.
@tapasadhikary
@tapasadhikary 11 ай бұрын
Thanks a lot, for this unconditional support and love ❤️. I wish my content reached many 😊
@LearnwithSumit
@LearnwithSumit Жыл бұрын
Amazing explanation. This is by far one of the best React server component explanation I have seen.
@tapasadhikary
@tapasadhikary Жыл бұрын
Wow! Your feedback means a lot to me. Thank you! 😍💛♥💛
@nightmarenar666
@nightmarenar666 3 ай бұрын
Your React js tutorial is helped me for clearing the one of the product based company. Thank you so much for your valuable time to teach us. Now i'm watching NextJS with more curios and Waiting for 'jest & RTL' unit testing playlist. I could say your a very good tutor. your explaining each and every concepts, neat and clear & crisp to understand easily.
@tapasadhikary
@tapasadhikary 3 ай бұрын
@@nightmarenar666 wow, congratulations 🎉… I'm very happy for you 🙌
@palakbasak3551
@palakbasak3551 3 ай бұрын
What an explanation. I have never seen this kind of videos on nextjs. Thank you so much.❤
@tapasadhikary
@tapasadhikary 3 ай бұрын
@@palakbasak3551 wow, Thanks a lot ❤️
@briandacallos4234
@briandacallos4234 Ай бұрын
You've just clear all the confusions over my head about this, thank you auto subs!
@tapasadhikary
@tapasadhikary Ай бұрын
Thanks a ton for the support… glad you found it helpful… ❤️
@deepdrops
@deepdrops Жыл бұрын
This is a fantastic explanation! It's incredibly clear and the best RSC I've ever come across.
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks a lot 👍
@phucong2760
@phucong2760 11 ай бұрын
This tutorial explain straight to the point and simplify the core of react server component. That super helpful for me thank you
@tapasadhikary
@tapasadhikary 11 ай бұрын
I am so glad hearing that :)
@SumanKundu-v7e
@SumanKundu-v7e Жыл бұрын
I learned so much concept in so little time. The way of explanation is amazing. Thank you for providing such quality content.
@tapasadhikary
@tapasadhikary Жыл бұрын
Very glad that you liked it 💛. Thanks for watching and more such in-depth knowledge coming 😊
@kaushikchopra3149
@kaushikchopra3149 10 ай бұрын
I was not clear about what SSR and RSC were until I watched this video. It provided such informative content. Hats off for the effort. I can now go and start learning Next.js without having any doubts about CSR and SSR. Also, I am a subscriber now to this channel. :D
@tapasadhikary
@tapasadhikary 10 ай бұрын
You are most welcome Kaushik 😊
@kaushikchopra3149
@kaushikchopra3149 10 ай бұрын
@@tapasadhikary Please create a Next.js tutorial playlist if possible. It would be more helpful, as I believe all the tutorials on KZbin are a bit outdated, recorded when Next.js was in beta mode or when the App router wasn’t fully released.
@tapasadhikary
@tapasadhikary 10 ай бұрын
@kaushikchopra3149 It’s already started. 5 videos are there already , 3 more coming this month…
@kaushikchopra3149
@kaushikchopra3149 10 ай бұрын
@@tapasadhikary Thank you. I'll check those videos and start learning Next.js by today itself.
@RajendraPatha
@RajendraPatha 5 ай бұрын
Easy to understand and well structured. Thank you for great explanation sir.
@tapasadhikary
@tapasadhikary 5 ай бұрын
Most welcome
@chaipanch98
@chaipanch98 Жыл бұрын
Amazing content very helpful when learn nextJs app router. Just a quick question does nextJs automatically convert server component to client component if we use states or event handler?
@tapasadhikary
@tapasadhikary Жыл бұрын
Thank you! The answer to your question, No it doesn't. It will cry with error if you try to use hook, handlers, etc.. in a server component. The error will ask you to use the 'use client' directive to make a client component manually.
@kennyng1238
@kennyng1238 Жыл бұрын
Thank you, this is much more clear to me right now. Great job!
@tapasadhikary
@tapasadhikary Жыл бұрын
That’s great 😍
@rhafael04
@rhafael04 Жыл бұрын
Thankyou bro, i have read next and react documentation but i got a frustated, and then i just read you article in freecode, you explain is very amazing bro
@tapasadhikary
@tapasadhikary Жыл бұрын
that's a huge comment. Thanks a lot 🙂😍
@leonhossain8324
@leonhossain8324 7 ай бұрын
Hats off Sir. You cleared all of my confusions. A well deserved subscriber earned
@tapasadhikary
@tapasadhikary 7 ай бұрын
You are most welcome ❤️. Thanks a lot for subscribing, means a lot.
@JourneyOfADesi
@JourneyOfADesi 2 ай бұрын
Sir I want to see in inspect that when you use a server components as props in an client component then does that server component renders in the browser in inspect. Please can you give example and show me . Also I really love your teaching style, I have seen all 39 videos of react from you and I have built a react application on e- commerce myself and deployed on render but I have some doubts , can I have some one on one time with you. Thanks in advance. I am in Dallas Texas, new enthusiast in web development. You’re just an awesome teacher. Thanks
@Invingagan
@Invingagan Жыл бұрын
It is a great explaination about the server side component. After seeing this it looks promising to use that. At the same time a question is coming to my mind. As now a days, most of the applications make call based on the user logged in. They need to pass token to ensure the correct user and authoriazarion level. That is part is still not clear as we removed that layer in server side component. Probabely it will be clear when we will this more in application.
@tapasadhikary
@tapasadhikary Жыл бұрын
Hey Gagan, Thanks! Please start using it. Your use case is very much possible with the server-side components, and in fact, it is now possible in a much more secure way than ever, as those API Keys and secrets never passed over wires with the server components. I want to correct one thought process there if you don't mind me doing it! We haven't removed any layer there... we just saying now your components can directly interact with the server-side of things. I would suggest, you play around with RSC more, and I would be glad to discuss more with you as you unfold things! Cheers.
@nargisakther4721
@nargisakther4721 Жыл бұрын
Resourceful and in-depth explanations. Thank you so much for your initiative. Looking forward to going through with this playlist. Keep up the good work sir.
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks dear, Nargis. Yes, this is my dream playlist 😀
@yashsolanki069
@yashsolanki069 10 ай бұрын
one fo the best explaination by far on server component! Please attach the link to the demo code you have shown in the video. It would help us dig more into it. Thanks!
@tapasadhikary
@tapasadhikary 10 ай бұрын
You are most welcome 👍
@syketb
@syketb Жыл бұрын
This one is an extremely informative video. One of the best React Server Component videos on the internet. Big thanks to you. ❤❤❤
@tapasadhikary
@tapasadhikary Жыл бұрын
A comment like this makes the whole effort of video making worth it. Thanks, my friend, it means a lot to me. 😍💛❤💛
@taiseen-ai
@taiseen-ai Жыл бұрын
Just amazing... we are to much gratefully to you for your this video... 🤗 such a nice and easy way you explain those concepts are really amazing... & very much easy to understand... 👍 Thank you so much to creating video like these behind the screen for us... 💖
@tapasadhikary
@tapasadhikary Жыл бұрын
Appreciate your comment.
@ahsanshafiqshawon
@ahsanshafiqshawon 9 ай бұрын
আমি লার্ন উইথ সুমিত এর রিঅ্যাক্ট এক্সিলারেটর কোর্সে আছি। এই কোর্সে এনরোল করে আপনাকে চিনেছি, আমি মনে করি এই কোর্স থেকে পাওয়া সবচেয়ে দামি বিষয় এটাই। আপনার চ্যানেলের মিলিয়নস অফ সাবস্ক্রাইবার হওয়া উচিত বলে মনে করি। সিনট্যাক্স শেখাই যায় কিন্তু কেন সেটা শিখবো, কেন কোড করবো, মেন্টাল মডেল ইত্যাদি এই বিষয়গুলো আমার চিন্তাভাবনা বদলে দিয়েছে। আপনাকে অসংখ্য ধন্যবাদ কমিউনিটিতে অবদান রাখার জন্য। আপনার ভালো ভালো কাজগুলো টিকে থাকুক এবং সামনে আরও আসতে থাকুক এই কামনা করি। ভালো থাকবেন, হয়তো অনলাইন দুনিয়া থেকে একদিন অফলাইন দুনিয়ায় আপনার সাথে দেখা হয়ে যাবে এই আশা ব্যক্ত করে আজকের মতো আসি।
@tapasadhikary
@tapasadhikary 9 ай бұрын
Thank you very much vai ❤️
@sakkhor
@sakkhor Жыл бұрын
Nice and very clear explanation. Please try to make a video about Server action. Currently, I am using it but there is a problem. To get the loading state, I have to use a react hook given by the Next JS. Therefore I have to use server action in a client component. It would be great if we can use the server action in the server component for progressive enhancement form in the real-world scenario. Anyway, your explanation of "server action" would be a great refresher on these new concepts.
@tapasadhikary
@tapasadhikary Жыл бұрын
Very cool. I've created an article on server action on my blog already. Shall create a video as well.
@abhinavmathur5869
@abhinavmathur5869 Жыл бұрын
Amazing information shared. I have not seen this kind of quality content so far. ❤❤
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks a lot for letting me know that it added value to you. I am very happy.
@saikatsen7589
@saikatsen7589 Жыл бұрын
Excellent Explanation Dada ❤
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks a lot, Saikat.
@syfuddhin
@syfuddhin 11 ай бұрын
Great! I understand next.js better now.
@tapasadhikary
@tapasadhikary 11 ай бұрын
Great, great ❤️
@harshshukla7675
@harshshukla7675 Жыл бұрын
Great video, though i didn't understand one thing that is why server components work inside a client component if we pass them through props ?
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks, Harsh! Is your question "Why" or "How"?
@iamjustlearner5866
@iamjustlearner5866 11 ай бұрын
Bro, you just made my day! your explanation is fantastic! already subscribed. Btw bro, can i ask why in Next js 14 we make a provider as self tagging not wrap the child like the old version?? Before next js 14 const Layout = ({ children }) => { return ( {children} ); }; after next js 14 it came up like this: {children} The notable difference lies in the use of self-tagging, where children and other components are not explicitly wrapped inside the provider. Could someone provide more details about this? I'll apreaciate it!
@tapasadhikary
@tapasadhikary 11 ай бұрын
Hey bro, I'm glad you liked the content and thanks a lot for the support and subscription ❤️ Coming to your question: Even with APP Router, we can very much wrap children in the provider. In fact, that's the use case. The providers are usually client components. So you can only use the server components as the prop children to it. I have recently created a video demonstrating it. I would like to request you to take a look: kzbin.info/www/bejne/oXytenWYqrxorc0si=mKHVoEmuEv6f6T9l Please check the section where I create the provider and use it in the layout. You can also find the code in the video description. Hope it helps.
@prashlovessamosa
@prashlovessamosa Жыл бұрын
You are the best. Thanks for this clear explanation.
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks brother 💛
@souvikmandal3991
@souvikmandal3991 Жыл бұрын
This is great content, dhonnobad Dada❤️❤️💐
@tapasadhikary
@tapasadhikary Жыл бұрын
Thank You, vai 💛❤💛
@murwathmehtar861
@murwathmehtar861 3 күн бұрын
Very good explanation!
@sublimeelectrons8699
@sublimeelectrons8699 Жыл бұрын
@tapas sir. I am happy to finish your react course here.. I am excited about your nextjs crash course. Thank you sir. I will watch your others videos after this one while waiting for nextjs. any advise from you what playlist shall i watch next?
@tapasadhikary
@tapasadhikary Жыл бұрын
Congratulations… I would suggest you start building things using all learning. Nextjs series first video will drop this week.
@PatrickBateman_speaks
@PatrickBateman_speaks Жыл бұрын
Hi Tapas da, Are you planning to upload any more lessons in this series? Many thanks for the videos!!
@tapasadhikary
@tapasadhikary Жыл бұрын
Surely I’m. I’m making one on Suspense in React.
@PatrickBateman_speaks
@PatrickBateman_speaks Жыл бұрын
@@tapasadhikary thanks dada
@justin9494
@justin9494 4 ай бұрын
Thank you so much!
@tapasadhikary
@tapasadhikary 4 ай бұрын
You are most welcome.
@saugatrajbhandari4247
@saugatrajbhandari4247 Жыл бұрын
great explanation as always
@tapasadhikary
@tapasadhikary Жыл бұрын
Thanks a lot. 🧡❤🧡
@MasudRana-ro2zn
@MasudRana-ro2zn 8 ай бұрын
Amazing explanation Dada.
@tapasadhikary
@tapasadhikary 8 ай бұрын
Always welcome
@sohansingh2022
@sohansingh2022 3 ай бұрын
Fantastic!
@tapasadhikary
@tapasadhikary 3 ай бұрын
@@sohansingh2022 thanks!
@mdsumonh.shohan9159
@mdsumonh.shohan9159 2 ай бұрын
Tapash vai great ekta question Nextjs er sathe mongoDB and other database query use kore ki everything kora possible?
@tapasadhikary
@tapasadhikary 2 ай бұрын
Define “everything”
@akshaypatil8393
@akshaypatil8393 Жыл бұрын
Thank you sir........................................................
@tapasadhikary
@tapasadhikary Жыл бұрын
You are most welcome, Akshay!
@baylonyap1113
@baylonyap1113 3 ай бұрын
The best ever!
@tapasadhikary
@tapasadhikary 3 ай бұрын
Glad you find it helpful.
@akash.serene
@akash.serene Жыл бұрын
how to debug server components in case of any failure? as we do client component in browser
@tapasadhikary
@tapasadhikary Жыл бұрын
Using VS CODE. Video is coming on it
@harshsinha7642
@harshsinha7642 Жыл бұрын
Amazing explanation🥰 Please create a playlist on nextjs in details 🙏
@tapasadhikary
@tapasadhikary Жыл бұрын
You bet. Planning a course soon 💛
@NewsInsightsbyCharlie
@NewsInsightsbyCharlie Жыл бұрын
Thank you, Dada.
@tapasadhikary
@tapasadhikary Жыл бұрын
Welcome, vai
@SolutionHub-321
@SolutionHub-321 Жыл бұрын
It's really awesome as you.
@tapasadhikary
@tapasadhikary Жыл бұрын
Thank you vai ❤️
@SLTeenTails
@SLTeenTails 6 ай бұрын
thank you sir
@IbrahimSowunmi
@IbrahimSowunmi 6 ай бұрын
Great video
@tapasadhikary
@tapasadhikary 6 ай бұрын
Thank you!
@DK-ox7ze
@DK-ox7ze Жыл бұрын
Can we pass data from a server component to a client component? If yes then how is that data transferred to the client component? Is it done when client component is rendered? If so then there must be a network call to send this data to the client component.
@tapasadhikary
@tapasadhikary Жыл бұрын
It's a great question! Yes, you can pass data from the server components to the client component. But it is not like server components transfer the data to the client side for the client component to render. Rather Server sends the entire serializable React tree in a format that has two things: 1) The server components rendered to tags. 2) The client components turned to placeholders(along with their id, props, etc) When browser receives this serializable JSON like tree, it reconstructs the React tree so that everything renders on the browser. Here the client placeholders turns back into the components. Now the rendering takes place. I hope it is clear now.
@DK-ox7ze
@DK-ox7ze Жыл бұрын
@@tapasadhikary I see. But I didn't understand why React/Next doesn't allow components requiring click handlers to be rendered on server? React can render them on server and attach click handlers when hydrating components on client side.
@Aleks-fp1kq
@Aleks-fp1kq Жыл бұрын
@@DK-ox7ze because that cannot be the same function as the server component's code must stay on the server. Even if you re-create the function you would lose the scope in which the function was created on the server.
@farhadjaman5580
@farhadjaman5580 Жыл бұрын
awesome just awesome
@tapasadhikary
@tapasadhikary Жыл бұрын
Glad you liked it, yay 🥳
@harshkhasgiwale2709
@harshkhasgiwale2709 4 ай бұрын
Thank you Sir
@tapasadhikary
@tapasadhikary 4 ай бұрын
Welcome!
@revulation1971
@revulation1971 Жыл бұрын
it is important to serialized the videos. as a beginner people can't understand what to see after which video?
@tapasadhikary
@tapasadhikary Жыл бұрын
Let me help you. The natural progression is to start learning Nextjs App router and that's why this video is already part of the NextJS series. Feel free to take a look Full Stack with NextJS App Router kzbin.info/aero/PLIJrr73KDmRwz_7QUvQ9Az82aDM9I8L_8
@faiquejatu8649
@faiquejatu8649 Жыл бұрын
Hello sir, can you post a video to explain server actions
@tapasadhikary
@tapasadhikary Жыл бұрын
Yes in plan
@Dibyendu-dev
@Dibyendu-dev 9 ай бұрын
@tapasadhikary
@tapasadhikary 9 ай бұрын
🙏
@BDHDVIDEO
@BDHDVIDEO 4 ай бұрын
start a new mission brother
@tapasadhikary
@tapasadhikary 4 ай бұрын
On it, bro 😀
@gogilavanivasanthakumar7283
@gogilavanivasanthakumar7283 3 ай бұрын
Very nice explanation
@tapasadhikary
@tapasadhikary 3 ай бұрын
Many thanks to you.
@JourneyOfADesi
@JourneyOfADesi 2 ай бұрын
Sir I want to see in inspect that when you use a server components as props in an client component then does that server component renders in the browser in inspect. Please can you give example and show me . Also I really love your teaching style, I have seen all 39 videos of react from you and I have built a react application on e- commerce myself and deployed on render but I have some doubts , can I have some one on one time with you. Thanks in advance. I am in Dallas Texas, new enthusiast in web development. You’re just an awesome teacher. Thanks
@tapasadhikary
@tapasadhikary 2 ай бұрын
@@JourneyOfADesi done! I will explain that in a video soon. Thanks for acknowledging that my content helps you! We can connect on Topmate in a 1:1 call. If interested I shall share my topmate profile with you to book a mentoring slot. Thanks ☺️
Data Fetching using React Suspense and Error Boundary - React Data Fetching Patterns.
34:32
React Server Components: A Comprehensive Breakdown
52:42
Theo - t3․gg
Рет қаралды 103 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,2 МЛН
React 19 Features: Everything You Need To Know
45:55
tapaScript by Tapas Adhikary
Рет қаралды 3,2 М.
React server components from scratch!
19:43
Ben Holmes
Рет қаралды 35 М.
Refresh Token Rotation With Next-Auth V5 || Managing Tokens With A Custom Backend
48:28
tapaScript by Tapas Adhikary
Рет қаралды 8 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 783 М.
NextJS App Router Layouts and Navigations Explained With Code
17:56
tapaScript by Tapas Adhikary
Рет қаралды 4,1 М.
React Hooks Crash Course (useMemo, useCallback and more).
31:49
developedbyed
Рет қаралды 87 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН