jpd-breader
jpd-breader copied to clipboard
Improve the JSX situation
Currently, the following problems exist:
-
util.jsxCreateElement
is slow- Check if
document.createElement
is the culprit, maybe switch to string templating - Investigate writing an alternate emitter plugin that outputs more optimized and inlined code
- Check if
-
jsx.d.ts
is morally wrong- Automatically generate it from some machine-readable data format that contains all valid HTML tags and attributes
- Investigate typechecking
children
correctly (not all HTML elements can contain all other HTML elements) - Investigate new TS 5.1 type checking features (see issue #47)