Settings

Theme

Show HN: React, declaratively define custom event data

github.com

1 points by thenewvu 8 years ago · 4 comments

Reader

fiatjaf 8 years ago

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) }
  • thenewvuOP 8 years 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection