Why is window not defined in NextJs 14 useEffect?
I’m having a hard time not seeing this simply as a NextJS bug and want to hear what others think. Let’s assume that "myFunction" is a third party script loaded in at the top level app/layout file. I’ve checked in browser console that indeed it loads in correctly. If I place window?.myFunction in as a