Integrating React.js with Rails using Hyperloop:
*
Event Handlers
*
States
# Event handlers are attached using the 'on' methodclass ClickMe < Hyperloop::Componentrender doDIV doSPAN { "Hello There" }A { "Click Me" }.on(:click) { alert('you did it!' }endendend