Created
November 13, 2023 03:30
-
-
Save nearbycoder/264b94a0fb299fe8807cd088664f98f2 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/solid-jsx */ | |
import { renderToString } from "npm:solid-js/web"; | |
const x = "<div/>"; | |
export const solidDom = 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