mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
28 lines
488 B
Markdown
28 lines
488 B
Markdown
---
|
|
date: 2020-11-30
|
|
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>
|