I have an application that needs to use esri-loader, TypeScript, the esri javascript api 3.x and I want to use the useEffect hook. Unfortunately I am a little rusty with esri, n