mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 04:56:23 +00:00
27 lines
471 B
Markdown
27 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>
|