TypeScript · Language and Environment
jsxFactory
Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'.
Syntax
"jsxFactory": "value"Example
Example
{
"compilerOptions": {
"jsxFactory": "value"
}
}More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.