- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.1k
Closed
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Seems like Babel supports other JSX factories other than React.createElement(...):
Here is docs from deku another JSX framework from Segment.io
Using .babelrc:
{
  "jsxPragma": "element"
}Source: https://github.com/dekujs/deku/blob/master/docs/guides/jsx.md#babelrc
I propose we add something similar to the TS compiler options. Letting people to do a post build of preserved JSX element is not the nicest solution.
Metadata
Metadata
Assignees
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript