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

Think about the edge cases.

Request SolutionAIPosts(73)

Try it out

Console