Re:Ask HN: Fatigued by the complexity of ES6 tooling. What t...
by Siilwyn on Sunday March 12, 2017 @05:28PM
(#13853225)
Hey just wanted to say thanks! Never heard of the `CustomEvent` API I [used it](https://github.com/AyriaPublic/desktop/commit/3e3b0ad76e7624...) in a small work in progress Electron app. ^^
For now, I will share this snippet:
And then in your app code (for example, when a user clicks a button), trigger a state change: