Created
November 13, 2023 03:29
-
-
Save nearbycoder/1764a64bc7ddc589c16507c40d5d8cb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsxImportSource https://esm.sh/react */ | |
import { renderToString } from "npm:react-dom/server"; | |
const x = "<div/>"; | |
export const reactDom = renderToString(<div x={x}>Test {x}</div>); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment