BFE.dev
React Coding Questions16. useUpdateEffect()

16. useUpdateEffect()

ReactHooks
Share

  - accepted / - tried

Implement useUpdateEffect() that it works the same as useEffect() except that it skips running the callback on first render.

prev

Always try to find a better approach.

Request SolutionAIPosts(74)

Try it out

Console