Тёмный
No video :(

Avoid This Common Rookie Mistake In Next.js 

Code Ryan
Подписаться 10 тыс.
Просмотров 2,9 тыс.
50% 1

Today, I cover a common mistake to make when using Next.js server and client components. More specifically, it relates to using the use client directive.

Опубликовано:

 

21 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@pedro.zurita
@pedro.zurita 2 месяца назад
Clear, concise and accurate. Great video.
@coderyan
@coderyan 2 месяца назад
Thank you
@blazi_0
@blazi_0 3 месяца назад
In my opinion state management is hardest thing to get right when u r using server components to create complicated software like dashboards. Its so hard, especially with live updates the ony solution is to use something like data revalidation whichs not very good solution most of the time
@noobchess2516
@noobchess2516 3 месяца назад
so in order to handle event trigger we dissect a client components and rest SSR(api calls extra) . generally we nest server component as parent and client component as child . we fetch all nessecary info (api calls) in server componenet and send it to client if needed. is my logic /method correct?
@Daddyjs
@Daddyjs 3 месяца назад
The goal is to ship least amount of javascript to the client
@kevcisme
@kevcisme 22 дня назад
What's your VS Code font setting? It's super calming
@jacobforsbergg
@jacobforsbergg 3 месяца назад
so basically,make server rendered pages and load client sided components on the actual page?
@ead5590
@ead5590 3 месяца назад
Totally agree with you. In a nutshell, any component that requires user interaction could be set as a client component with the directive. In a recent client project, I have data that is being fetched server side and is rendered onto a client component because I've added a few simple user interactive filters to it. And due to this, the majority of the web pages are rendered server-side. Gotta love that Next.js. 🤩 Ryan, do you have any video that covers the revalidation feature in Next.js? I would love to hear your take on that.
@iancarr3923
@iancarr3923 3 месяца назад
Short and to the point. Very helpful.
@fabio9311
@fabio9311 3 месяца назад
Just a comment for the algorithm. Thanks for creating this, massively useful!
@coderyan
@coderyan 3 месяца назад
Thanks for the kind words!
@CreativeTutorialsWeb
@CreativeTutorialsWeb 3 месяца назад
Amazing Video! Well explained
@coderyan
@coderyan 2 месяца назад
Thanks!
@devvagnerBR
@devvagnerBR 3 месяца назад
✍🏻 noted
@nayandey5010
@nayandey5010 3 месяца назад
i made the like count 69 to 70
Далее
10 common mistakes with the Next.js App Router
20:37
Просмотров 202 тыс.
Мелл хочешь сына от Дилары
00:50
Вся Правда Про Хазяевов !
41:02
4 Tips To Succeed As A Self Taught Developer
11:08
Просмотров 32 тыс.
Svelte 5's Secret Weapon: Classes + Context
18:14
Просмотров 16 тыс.
I Didn't Know Next.js Server Actions Could Do This!
6:53
Stop Doing These Next.js Mistakes
14:18
Просмотров 8 тыс.
If this ships, it will change javascript forever
25:54
Просмотров 200 тыс.
How JavaScript Ruined the Web
15:02
Просмотров 116 тыс.
The New Option and Result Types of C#
15:05
Просмотров 53 тыс.
The Story of Next.js
12:13
Просмотров 563 тыс.
The Tools I Use to Build Products in Laravel
19:00
Просмотров 22 тыс.
I forced EVERYONE to use Linux
22:59
Просмотров 347 тыс.