@firsthandjs/jsx-runtime
v0.12.2
Published
Runtime JSX entry points for Firsthand, for environments without the compiler.
Maintainers
Readme
@firsthandjs/jsx-runtime
Runtime JSX for environments where the Firsthand compiler is not configured: a
REPL, a test that imports TSX directly, a tool that transpiles with
jsxImportSource.
Documentation: guide · API reference · all docs
It produces real DOM through the same protocol as the compiled output — there
is no second semantics and no second runtime. What it cannot do is hoist static
markup into a <template>, and it cannot see an expression that a JSX call has
already evaluated, so a dynamic value must be written as a thunk:
<p>{() => count.value}</p>The compiler writes those thunks for you. Use it for production.
Full documentation: the repository README.
MIT licensed.
