wiki/content/20201130085317-react_jsxdev.md

28 lines
486 B
Markdown

---
date: 20201130
id: d67e02ba-2265-4f57-adb5-58824ae6a8bc
title: react-jsxdev
---
# Description
Support development compiles for React 17's
[jsx](20201130085253-react_jsx) and
[jsxs](20201130084716-jsxs_react_factory_function) factory functions.
See PR[^1].
# Example
``` json
// ./src/tsconfig.dev.json
{
"extends": "./tsconfig.json",
"compilerOptions": {
"jsx": "react-jsxdev"
}
}
```
# Footnotes
[^1]: <https://github.com/microsoft/TypeScript/pull/39199>