ReactDOM Server exposes a method called renderToString, which takes a React component and returns the corresponding HTML output. To support static pages, we first have to implement a transpilation step that turns React-based pages into static HTML. To hydrate dynamic components, we can export a string literal that our bundler
Table of contents
Popular PageBuilding the frameworkStatic RenderingIncremental Static RegenerationServerless FunctionsEdge Server-RenderingServerless FunctionsAutomatic Image OptimizationConclusion2 Comments
Sort: