3 ms·
> Understanding hooks did take effort. Only after I read Dan Abramov's article a few times was I able to write hooks w/ deterministic results. A tool for build
by artemave 6y ago
> Understanding hooks did take effort. Only after I read Dan Abramov's article a few times was I able to write hooks w/ deterministic results.
A tool for building web pages that requires that level of effort to learn it is not a good tool.
- dabernathy89 6y agoSo happy I went down the Vue-route from the beginning. Could I learn and understand hooks really well if I wanted to? Sure. But with Vue lifecycle hooks - and with the upcoming Vue 3 composition API - I don't have to overthink anything. The API is intuitive, readable, and a pleasure to work with. I'm sure there are counterpoints - Vue doesn't teach the right mental model about component lifecycles, or something to that effect. But I don't care if the Vue abstraction is too simplistic - in fact, that's what I like about it.
- kin 6y agoHaving worked on large scale production apps through jQuery days, Knockout, Backbone, Angular 1, and now React, I still think this is the best tool for the job. What do you use? I don't think spending a few hours to fully grasp an article should be the metric to deter someone from a good tool.
- artemave 6y agohttps://hyperdom.org https://hyperdom.org