Re:Show HN: A renderless and extendable rich-text editor for...
by revskill on Saturday May 25, 2019 @10:11AM
(#20009150)
Lifecycle is not to be reused. Hooks could be reused and used everywhere you want.
[ Parent
| on HN ]
Re:Show HN: A renderless and extendable rich-text editor for...
by jeremyjh on Saturday May 25, 2019 @10:34AM
(#20009285)
In Vue nothing prevents you from reusing a common function in or as a lifecycle method. I’m sure you think mixins are bad too, since Dan does, but you can also just use plain functions and bind this.