Skip Navigation

handleEvent() is Mindblowing

thathtml.blog handleEvent() is Mindblowing

A feature I had no idea existed which works beautifully with web components.

handleEvent() is Mindblowing

A feature I had no idea existed which works beautifully with web components.

1
1 comments
  • Am I missing something? It seems like the mind-blowing feature is defining all your event handlers in a single giant function instead of smaller, more specialized methods. Why is that preferable?