import * as pagic from "https://deno.land/x/pagic@v1.6.3/mod.ts";
Functions
Render a React element to its initial HTML. Returns a Readable stream that outputs
an HTML string. The HTML output by this stream is exactly equal to what
| |
Only available in the environments with Node.js Streams. | |
Only available in the environments with Web Streams (this includes browsers, Deno, and some modern edge runtimes). | |
Similar to | |
Similar to | |
Render a React element to its initial HTML. This should only be used on the server. React will return an HTML string. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes. |