Course lesson
Replace Legacy Root API with New Root API
For the better portion of a decade, React has shipped with the render root API. This changes with React 18 — mostly. React 18 is a transitional release, supporting render (legacy root API) and createRoot (new root API). React 18's legacy root API operates...
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
For the better portion of a decade, React has shipped with the render root API. This changes with React 18 — mostly. React 18 is a transitional release, supporting render (legacy root API) and createRoot (new root API). React 18's legacy root API operates exactly the same as v17.