Fix wrong version

This commit is contained in:
Dan Abramov
2020-02-26 20:55:30 +00:00
committed by GitHub
parent 1b5c6d3d13
commit 7f56986243

View File

@@ -101,7 +101,7 @@ class ClassParent extends React.Component {
>
> To see this warning, you need to have the [babel-plugin-transform-react-jsx-self](https://babeljs.io/docs/en/babel-plugin-transform-react-jsx-self) installed in your Babel plugins. It must _only_ be enabled in development mode.
>
> If you use Create React App or have the "react" preset with Babel 6+, you already have this plugin installed by default.
> If you use Create React App or have the "react" preset with Babel 7+, you already have this plugin installed by default.
### Deprecating `React.createFactory` {#deprecating-reactcreatefactory}