Тёмный

Do We Still Need GraphQL with React Server Components? 

Roy Derks
Подписаться 1,8 тыс.
Просмотров 8 тыс.
50% 1

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

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@thomas-sinkala
@thomas-sinkala 6 месяцев назад
Yeah, the big question is caching. With GraphQL, I am able to cache response but not with querying direct. I noticed a refetch is made nearly every time.
@gethackteam
@gethackteam 6 месяцев назад
There are many ways to do caching in React too, for example, React Query (from Tanstack) is great for that use case
@thomas-sinkala
@thomas-sinkala 6 месяцев назад
@@gethackteam Yeah, I will check it out. Does React Query work server side? Can you make a video on that? Maybe I am just too familiar with the pages router but it is easier to do everything, like refetching data, is almost makes app router pointless.
@gethackteam
@gethackteam 6 месяцев назад
Works both way, and making a video about it is definitely on my todo list
@gethackteam
@gethackteam Год назад
What do you think? I've described my reasoning behind this video some more in this blog post hackteam.io/blog/do-need-graphql-now-react-server-components/
Далее
The Hidden Cost Of GraphQL And NodeJS
28:35
Просмотров 195 тыс.
Building GraphQL APIs with Prisma
27:19
Просмотров 2,8 тыс.
Do you REALLY need SSR?
18:15
Просмотров 175 тыс.
The Truth About GraphQL
12:06
Просмотров 101 тыс.
Reflecting on React Server Components
26:33
Просмотров 45 тыс.