Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fiatjaf
· 9y ago · 0 comments
I don't like your solution (although it is better than your description of the current use-case). I prefer to use:
onClick (e) { this.doSomething(data) }
Comments
[–]
thenewvu
9y ago
Yeah .. it's (the package) totally an opinionated solution, but hey .. why do you prefer imperative than declarative? Just want to hear your opinion, I'm open to any idea.
[–]
fiatjaf
OP
9y ago
I would prefer declarative if I didn't need to install a package. Every dependency is a burden.
[–]
thenewvu
9y ago
hm ... yeah, you're right.