3 ms·
Lifecycle methods are a valid use case for hooks, yet that use case is constantly bashed (E.g. in this post). There is a very specific way of doing React that
by ZephyrBlu 4y ago
Lifecycle methods are a valid use case for hooks, yet that use case is constantly bashed (E.g. in this post).
There is a very specific way of doing React that influencers and sometimes the React core team push very, very strongly. Sometimes it's justified, but usually I find that it's personal preference being pushed as fact.