mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
28 lines
471 B
Markdown
28 lines
471 B
Markdown
|
---
|
||
|
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>
|