Re:PSA: React 18 calls code twice in strict dev mode to dete...
by marcus_cemes on Sunday April 10, 2022 @04:33PM
(#30981420)
Also, these types of global modifications make such libraries fundamentally incompatible with projects such as Tauri that focuse on safety and security. In a recent video of theirs they mentioned that of the popular frameworks, the only one that didn't seem to do any dodgy modifications of the global scope was Svelte (they didn't mention which frameworks failed the test, but I imagine React was one of them).
[ Parent
| on HN ]
Re:PSA: React 18 calls code twice in strict dev mode to dete...
by joshribakoff on Sunday April 10, 2022 @05:20PM
(#30981828)
It’s totally opt in, and in development only, so react doesn’t prevent you from using that other lib