Re:PSA: React 18 calls code twice in strict dev mode to dete...
by davman on Monday April 11, 2022 @05:07AM
(#30986335)
Related:
I have an outstanding Bounty on a SO question for how to write a reusable useRef hook that only runs on the very first mount under StrictMode conditions:
I have an outstanding Bounty on a SO question for how to write a reusable useRef hook that only runs on the very first mount under StrictMode conditions:
https://stackoverflow.com/questions/71695213/equivalent-isfi...