项目作者: balmanth

项目描述 :
A set of functions and classes to render interfaces using a custom JSX over TypeScript.
高级语言: TypeScript
项目地址: git://github.com/balmanth/jsx-dom.git
创建时间: 2020-03-29T21:45:07Z
项目社区:https://github.com/balmanth/jsx-dom

开源协议:MIT License

下载


JSX-DOM

This module is part of BPL (Balmanth’s Personal Library) and provides a set of functions and classes to build interfaces using a custom JSX over TypeScript, in addition to rendering them by manipulating the browser DOM.

Install

Using npm:

  1. npm i @balmanth/jsx-dom

Reference

After installing the module, you need to import it as in the following example:

  1. import * as JSX from '@balmanth/jsx-dom';

And configure your tsconfig.json as in the example below:

  1. {
  2. "jsxFactory": "JSX.create",
  3. "jsx": "react"
  4. }

This part isn’t needed if you want just to extend the module.

…Then you can follow all the quick reference examples.

License

MIT