Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Reminder: you can enable React compiler in Next 15

92,554 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Pushkar Kathayat
Pushkar Kathayatvor 1 Jahr

So next js is slow without it

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

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

Profilbild von Go furthur, Boddhisatva!
Go furthur, Boddhisatva!vor 1 Jahr

breaks many more complex components of ours

Profilbild von Salvatore
Salvatorevor 1 Jahr

Wo, whats that tailwind collapse plugin?

Profilbild von Tuomo
Tuomovor 1 Jahr

@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 😂

Profilbild von XJP
XJPvor 1 Jahr

Awesome didn’t know this thx

Profilbild von Wael Assaf
Wael Assafvor 1 Jahr

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

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

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

Profilbild von Andrew Aliaj
Andrew Aliajvor 1 Jahr

Is React compiler enabled in the Next config file

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

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

Ähnliche Videos