Reactjs – useEffect does not work in production build NextJS
useEffect does not work in production build. following is the code snippet useEffect(() => { console.log("useeffect 1") return () => { console.log("useeffect 2") }; }, []) In development useEffect triggering multiple times and the result is useeffect 1 useeffect 2…