3 ms·
My problem with hooks isn't the philosophy but the ergonomics and footguns it creates. Compare that with Vue composition api, and you can see how idea of hooks
by rk06 4y ago
My problem with hooks isn't the philosophy but the ergonomics and footguns it creates.
Compare that with Vue composition api, and you can see how idea of hooks can be implemented much better[0]
[0] https://vuejs.org/guide/extras/composition-api-faq.html#comparison-with-react-hooks https://vuejs.org/guide/extras/composition-api-faq.html#comp...