Any way to log if strict mode is enabled?
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
I have
reactStrictMode set to false in my next.config.js, but I am encountered some bugs locally that seem ilke it's enabled. when deployed to pre-prod environments, it's working fine. wondering if there's a simple way to have the client log it when it's running to double check? thanks!1 Reply
useEffect(() => {
console.log("logging...");
}, []);Try see how many logs you get, if you get 2 logs in your local development, your
reactStrictMode is enabled.