basic-pragma
v4.4.4
Published
Configurable JSX pragma using a basic vdom
Downloads
63
Maintainers
Readme
basic-pragma
This module provides a JSX pragma (createElement) for using JSX/TSX. The target is configurable via specifying a required adapter. Designed with the intention to support targeting Lua transpilation, but works when targeting JavaScript.
Usage
Use setAdapter
at the root of the project, which will bridge the pragma with
the application UI. See
w3ts-jsx for an
example adapter.