DEV Community

Discussion on: How to do wiring in VanillaJS

Collapse
 
artydev profile image
artydev • Edited

The problem, with this approach, it is that 'clickEventHandler' is attached to the Window object.

Collapse
 
ptejada profile image
Pablo Tejada

Is a peace of history 😀