How To Use the New React Compiler Today
A simple example in Next.js
2 min readMay 24, 2024
The new React compiler is here and ready to be used — at least in an experimental state. Here is how you can try it out already!
We need only create a new Next.js project. I will link the entire code at the end of this article.
npx create-next-app my-next-app