How the useEffect Hook Works

added by JavaScript Kicks
11/1/2018 2:50:27 AM

2238 Views

Picture this: you have a perfectly good function component, and then one day, you need to add a lifecycle method to it. Ugh. "Maybe I can work around it somehow?" eventually turns to "oooook FINE I'll convert it to a class."


0 comments