Skip to content

Instantly share code, notes, and snippets.

@razorback21
razorback21 / hyperapp-reference.md
Created March 26, 2024 11:09 — forked from skanne/hyperapp-reference.md
A reference of Hyperapp 2 actions, effects and subscriptions and how they are declared and used.

Hyperapp 2 – Actions, Effects and Subscriptions

Learn about the function signatures of actions, effects, and subscriptions in Hyperapp 2 and how they are used in apps.

Actions

Actions:

  • Are declared as constant arrow functions (const ActionFunction = (s, p) => ns).
  • Should have names written in PascalCase .