You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/content/learn/react-compiler.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ In addition to these docs, we recommend checking the [React Compiler Working Gro
121
121
Prior to installing the compiler, you can first check to see if your codebase is compatible:
122
122
123
123
<TerminalBlock>
124
-
npx react-compiler-healthcheck@latest
124
+
npx react-compiler-healthcheck@experimental
125
125
</TerminalBlock>
126
126
127
127
This script will:
@@ -143,7 +143,7 @@ Found no usage of incompatible libraries.
143
143
React Compiler also powers an eslint plugin. The eslint plugin can be used **independently** of the compiler, meaning you can use the eslint plugin even if you don't use the compiler.
Copy file name to clipboardexpand all lines: src/content/reference/react/useLayoutEffect.md
+2
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,8 @@ function Tooltip() {
67
67
68
68
* Код внутри `useLayoutEffect` и все обновления состояния, запланированные из него, **блокируют браузер от перерисовки экрана.** При чрезмерном использовании это замедляет работу вашего приложения. По возможности предпочитайте [`useEffect`.](/reference/react/useEffect)
69
69
70
+
* If you trigger a state update inside `useLayoutEffect`, React will execute all remaining Effects immediately including `useEffect`.
0 commit comments