TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Show HN: React, declaratively define custom event data
1 points
by
thenewvu
almost 8 years ago
1 comment
fiatjaf
almost 8 years ago
Collapse
I don't like your solution (although it is better than your description of the current use-case). I prefer to use:<p><pre><code> onClick (e) { this.doSomething(data) }</code></pre>
评论 #15048388 未加载