AI Hints
Home›React Tutorial›What Comes Next
React · Lesson 119 of 120

Where React Is Going

Compiler and server.

⏱ 2 min read▶ Video at 1:39:25🎓 Free
Watch this lesson in the React courseWatch on YouTube ↗Full React course

React keeps evolving. Two big directions stand out. A compiler that optimizes your code for you, and more work moving to the server.

  • React evolves
  • A compiler
  • The server

The React Compiler

The React Compiler analyzes your components at build time, and adds memoization automatically. You write plain, simple code, and it runs fast. Manual memo, use memo, and use callback become rare.

keyvalue
Whenbuild time
Addsmemoization
You writeplain code
Lessmanual memo

Server first

Server components, and server functions, let frameworks run more code on the server. Less JavaScript reaches the browser, and data loading gets simpler. Actions, and hooks like use action state, connect forms straight to the server.

keyvalue
Server componentsno JS shipped
Server functionscall the server
Actionsforms to server
Resultfaster apps

Summary

The compiler and server features make React faster, with simpler code. Next, what to learn next.

Key takeaways
  • Compiler
  • Server
  • Actions
Next up: What to Learn Next — keep building