Browse Source

Docs: Fix `useEffect` link typo in `react/useLayoutEffect.md` (#5661)

* fix typo

* fix typo
main
이동현 2 years ago
committed by GitHub
parent
commit
41be5270e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/reference/react/useLayoutEffect.md

2
beta/src/content/reference/react/useLayoutEffect.md

@ -65,7 +65,7 @@ function Tooltip() {
* Effects **only run on the client.** They don't run during server rendering. * Effects **only run on the client.** They don't run during server rendering.
* The code inside `useLayoutEffect` and all state updates scheduled from it **block the browser from repainting the screen.** When used excessively, this can make your app very slow. When possible, prefer [`useEffect`.](/reference/reac/useEffect) * The code inside `useLayoutEffect` and all state updates scheduled from it **block the browser from repainting the screen.** When used excessively, this can make your app very slow. When possible, prefer [`useEffect`.](/reference/react/useEffect)
--- ---

Loading…
Cancel
Save