-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: drop classic JSX support. If you want to still use the classic JSX support, please enable `react/jsx-uses-react` on your own. * feat: add react/jsx-runtime for React 17 * fix: fix test for new JSX transform * chore: create React support section in README * Update README.md Co-authored-by: Toru Kobayashi <koba0004@gmail.com>
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import React from 'react'; | ||
|
||
const Foo = () => <p>Foo</p>; | ||
|
||
const Component = () => <Foo />; | ||
export default Component; | ||
export default Component; |