
Today I Learned
TIL Message handler inside of useEffect
useEffects have a lot of footguns, especially with the dependency list. This is one of them. If I have a web worker that I need to communicate with, I need to have a message handler. The message handler needs to change the state of my frontend application. It's