Skip to content

Commit

Permalink
Fix a missing word in useLayoutEffect (#6078)
Browse files Browse the repository at this point in the history
  • Loading branch information
escwxyz authored May 31, 2023
1 parent ad4f5c7 commit 4184c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useLayoutEffect.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ useLayoutEffect(setup, dependencies?)
### `useLayoutEffect(setup, dependencies?)` {/*useinsertioneffect*/}
Call `useLayoutEffect` perform the layout measurements before the browser repaints the screen:
Call `useLayoutEffect` to perform the layout measurements before the browser repaints the screen:
```js
import { useState, useRef, useLayoutEffect } from 'react';
Expand Down

0 comments on commit 4184c0f

Please sign in to comment.