Загрузка видео...

Не удалось загрузить видео

На главную

Reminder: you can enable React compiler in Next 15

92,554 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Pushkar Kathayat
Pushkar Kathayat1 год назад

So next js is slow without it

Фото профиля Alex Sidorenko
Alex Sidorenko1 год назад

Nope. In practice, most renders are fine. However, sometimes excessive rendering could lead to performance bottlenecks. You can fix them with memoization (memo, useCallback, uesMemo, etc...). Compiler does all that optimization automatically, so you don't need to think about it

Фото профиля Go furthur, Boddhisatva!
Go furthur, Boddhisatva!1 год назад

breaks many more complex components of ours

Фото профиля Salvatore
Salvatore1 год назад

Wo, whats that tailwind collapse plugin?

Фото профиля Tuomo
Tuomo1 год назад

@vercel @leeerob @rauchg is there a way to get react compiler benefits with NextJS v14? I started my project on fall and I am not yet ready to upgrade to v15 😂

Фото профиля XJP
XJP1 год назад

Awesome didn’t know this thx

Фото профиля Wael Assaf
Wael Assaf1 год назад

So it's not enabled by default? When it's gonna be out of experimental? Once React 19 stabilizes?

Фото профиля Alex Sidorenko
Alex Sidorenko1 год назад

Not enabled by default and requires babel-plugin-react-compiler. Here is a roadmap to stable

Фото профиля Andrew Aliaj
Andrew Aliaj1 год назад

Is React compiler enabled in the Next config file

Фото профиля Alex Sidorenko
Alex Sidorenko1 год назад

It's in the video: 22s - 25s 😅

Похожие видео