Twitter | Search | |
Ryan Florence
Gotta stop thinking about it as the old life cycles with the [] trick. It’s an effect, and you need to clean up your effects that are long running. Return your cleanup function, declare your dependencies, no bugs. setTimeout, like in my talk at react conf, is the better model.
Reply Retweet Like More
Replying to