Skip to content

Commit d92bec6

Browse files
authored
docs[compiler]: clarify React DevTools support for Compiler Badges in React Native
1 parent 3b02f82 commit d92bec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/react-compiler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ React Compiler can verify many of the Rules of React statically, and will safely
347347

348348
### How do I know my components have been optimized? {/*how-do-i-know-my-components-have-been-optimized*/}
349349

350-
[React Devtools](/learn/react-developer-tools) (v5.0+) has built-in support for React Compiler and will display a "Memo ✨" badge next to components that have been optimized by the compiler.
350+
[React Devtools](/learn/react-developer-tools) (v5.0+) has built-in support for React Compiler and will display a "Memo ✨" badge next to components that have been optimized by the compiler. In React Native, this feature is available from version 0.75.0 onwards, since React Native bundles its own DevTools backend.
351351

352352
### Something is not working after compilation {/*something-is-not-working-after-compilation*/}
353353
If you have eslint-plugin-react-compiler installed, the compiler will display any violations of the rules of React in your editor. When it does this, it means that the compiler has skipped over optimizing that component or hook. This is perfectly okay, and the compiler can recover and continue optimizing other components in your codebase. **You don't have to fix all ESLint violations straight away.** You can address them at your own pace to increase the amount of components and hooks being optimized.

0 commit comments

Comments
 (0)