basic-pragma
TypeScript icon, indicating that this package has built-in type declarations

4.4.4 • Public • Published

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.

/basic-pragma/

    Package Sidebar

    Install

    npm i basic-pragma

    Weekly Downloads

    23

    Version

    4.4.4

    License

    MIT

    Unpacked Size

    152 kB

    Total Files

    67

    Last publish

    Collaborators

    • voces