React 16 Lifecycle Methods: How and When to Use Them

added by JavaScript Kicks
12/11/2018 8:26:10 AM

1181 Views

As alluded to above, lifecycle methods are a last resort. They're to be used in special cases, when other fallbacks like rearranging your components or moving your state around won't work. Lifecycle methods (with the exception of constructor) are hard to reason about. They add complexity to your app.


0 comments