Last active
November 13, 2023 02:49
-
-
Save nearbycoder/8c159fe91d7fb3ea9cabf0bb308c180f 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