3 ms·
That's ultimately it isn't it. I think Hooks are great and I've been using them and would use them for everything. I'm also a Dev manager, and understanding tho
by ryansolid 8y ago
That's ultimately it isn't it. I think Hooks are great and I've been using them and would use them for everything. I'm also a Dev manager, and understanding those gotcha's it isn't even about not knowing which would be an obstacle for less experienced developers, but how easily you repeatedly accidentally fall into them.
It's hard. I feel like they are 90% right, but unless you are not only a very competent developer but also insanely careful you will make many mistakes.
I perhaps am a bit more torn as I have experience with fine grained libraries like Knockout and MobX and I even more so see the benefit of the potential here. I think the idea of it is a better, more clear way to solve problems (from previous experience). But the number of times I've missed [], or forgot to close over state properly even knowing. I usually catch myself but I can only picture the team biting into this.