Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If ($)emit is not something you use for very ephemeral events, that otherwise cannot be expressed as state changes in natural way, or in a custom, reusable component (i.e something you could publish separately from your application), you're using it wrong. I rarely ever use emit and when I do it's either a very active reusable component or a solution for an otherwise very difficult problem. And I don't see what a meaningfully prettier/better API would be.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: