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.