|
|
|
|
|
by timdaub
2017 days ago
|
|
For some reason I never ran into any problems with lifecycle methods of class components. I mean, for testing, having too many class methods is clearly annoying so I try encapsulate as much functionality into small and separate functions. But yeah, apart from that I never saw the need to use hooks. I mean either I write a functional component without state or I write a class component. That's it. I hope they don't deprecate lifecycle methods. Such a great interface! |
|