3 ms·
You can solve the problem Hooks purported to solve in plain, idiomatic JavaScript with classes[0] [0]https://raganwald.com/2016/07/20/prefer-composition-to-inh
by imbnwa 4y ago
You can solve the problem Hooks purported to solve in plain, idiomatic JavaScript with classes[0]
[0]https://raganwald.com/2016/07/20/prefer-composition-to-inheritance.html https://raganwald.com/2016/07/20/prefer-composition-to-inher...
- ajkjk 4y agoThis thread may have an OP who prefers classes, but I'm for one 100% in favor of hooks. You could struggle and suffer to solve them with classes, or you could move on to something better.