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

What is time & space complexity of your approach?

Request SolutionAIPosts(81)

Try it out

Console