I admit I’m still totally unconvinced of the value of hooks. This code looks more complex and abstract than the simple class model. Still, it’s good to see some resources!
This is really helpful to convey all the use cases!
Is there any benefit of using hooks with stateless components versus just having a class component?
Can't reusability come via abstract components, instead of hooks?
I admit I’m still totally unconvinced of the value of hooks. This code looks more complex and abstract than the simple class model. Still, it’s good to see some resources!