Hacker News new | past | comments | ask | show | jobs | submit login

That's just when you use custom elements in _React_.

I've definitely wired up JSX createElement implementations that handle attributes and events properly. My preference is for Polymer-style naming: `on-*` for event handlers, `$` suffix for attributes and everything else is a property. Others who've done this use special `attributes` and `events` properties.




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

Search: