trycoast
trycoast
Any news on this?
Yes, please make this happen 🙏
Are there any plans for fixing this? It's been an issue for a long time. I feel like the provided solution renders the library itself somewhat pointless.
Anyways, as inferred by OP, the cause is React's strictmode mounting all components twice. The following solution worked for me. ```js useEffect(() => { themeChange(false); return () => { themeChange(false);...
I don't think this relates to Next.js at all (I have never used it). Strictmode is a React artifact, and yes, it is enabled by default in the newer versions...
I'm having this issue as well