TypeScript · Language and Environment
jsxFragmentFactory
Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
Syntax
"jsxFragmentFactory": "value"Example
Example
{
"compilerOptions": {
"jsxFragmentFactory": "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.