Skip to content

Commit 9985199

Browse files
piotrskigaearon
andauthored
docs[compiler]: clarify React DevTools support for Compiler Badges in React Native (#7369)
* docs[compiler]: clarify React DevTools support for Compiler Badges in React Native * Update react-compiler.md * Update react-compiler.md --------- Co-authored-by: dan <[email protected]>
1 parent 8ac5531 commit 9985199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/react-compiler.md

+1-1
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+) and [React Native DevTools](https://reactnative.dev/docs/react-native-devtools) have built-in support for React Compiler and will display a "Memo ✨" badge next to components that have been optimized by the compiler.
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)