News for hackers. Stuff that matters.
Re:PSA: React 18 calls code twice in strict dev mode to dete... by tomduncalf on Sunday April 10, 2022 @11:55AM (#30978260)
Interesting and an odd choice of behaviour in 17! I tested in a codesandbox with Next.js using React 17 and 18 and observed that only 18 did the double logging I was seeing, so assumed it was new behaviour in 18. Actually I guess I was seeing 17 silencing the double log.

There are no comments on this comment yet.