jpd-breader icon indicating copy to clipboard operation
jpd-breader copied to clipboard

Improve the JSX situation

Open max-kamps opened this issue 1 year ago • 1 comments

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
  • 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)

max-kamps avatar Jun 22 '23 13:06 max-kamps