GeezerVison is showing github.com — Babel Transform JSX to React.jsx/React.jsxDEV Plugin (#16432) · react/react@f512537
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: package.json +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | "packages/*" |
5 | 5 | ], |
6 | 6 | "devDependencies": { |
| 7 | + "@babel/plugin-syntax-jsx": "^7.2.0", |
7 | 8 | "@babel/cli": "^7.0.0", |
8 | 9 | "@babel/code-frame": "^7.0.0", |
9 | 10 | "@babel/core": "^7.0.0", |
|
Collapse file
Copy file name to clipboard +5Lines changed: 5 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +This package is intended to eventually replace the current `@babel/plugin-transform-react-jsx`, changing the JSX transform from targeting `React.createElement(type, props, children)` to `React.jsx(types, props, key)`. |
| 2 | + |
| 3 | +https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md |
| 4 | + |
| 5 | +**This is experimental and not intended to be used directly.** |