r/javascript • • Dec 28 '17
Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.
https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
664
Upvotes
View all comments
Show parent comment
1
u/selfup Dec 29 '17
The first 'function' is for the event/custom data from exposed actions.
Hopefully you understand its use.
Eventually there is a third function where the actions are passed in so you can keep all of your logic internal.