diff --git a/docs/intro-react.md b/docs/intro-react.md index f30c4c037f1..178bde88cb1 100644 --- a/docs/intro-react.md +++ b/docs/intro-react.md @@ -132,7 +132,7 @@ export default Cat; You can think of curly braces as creating a portal into JS functionality in your JSX! -> Because JSX is included in the React library, it won’t work if you don’t have `import React from 'react'` at the top of your file! +> If you're using React Native with React 17 or later, you **no longer need** to `import React from 'react'`. Find out more [here](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) ## Custom Components diff --git a/website/versioned_docs/version-0.73/intro-react.md b/website/versioned_docs/version-0.73/intro-react.md index 3b92f78268b..81d3f2ce977 100644 --- a/website/versioned_docs/version-0.73/intro-react.md +++ b/website/versioned_docs/version-0.73/intro-react.md @@ -132,7 +132,7 @@ export default Cat; You can think of curly braces as creating a portal into JS functionality in your JSX! -> Because JSX is included in the React library, it won’t work if you don’t have `import React from 'react'` at the top of your file! +> If you're using React Native with React 17 or later, you **no longer need** to `import React from 'react'`. Find out more [here](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) ## Custom Components diff --git a/website/versioned_docs/version-0.74/intro-react.md b/website/versioned_docs/version-0.74/intro-react.md index f30c4c037f1..178bde88cb1 100644 --- a/website/versioned_docs/version-0.74/intro-react.md +++ b/website/versioned_docs/version-0.74/intro-react.md @@ -132,7 +132,7 @@ export default Cat; You can think of curly braces as creating a portal into JS functionality in your JSX! -> Because JSX is included in the React library, it won’t work if you don’t have `import React from 'react'` at the top of your file! +> If you're using React Native with React 17 or later, you **no longer need** to `import React from 'react'`. Find out more [here](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) ## Custom Components