Handle events with a couple of lines of code, using our Bolt framework.
If you can't use Bolt, read our guide to hand-craft event handling into your app.