bind
helper+ Bind is a low-magic abstraction for simple full re-render micro-components. + It takes a function that renders input data into a DOM subtree and returns an update function. + Every call of the update function will trigger a full re-render of the entire subree and replace the old one within the DOM. +
+
- bind
@@ -281,7 +287,7 @@
- Transform function
- - ...data ⟶ new-element
+ - ...data ⟶ element
-
A function that takes the current state and returns a new HTML element.
@@ -294,7 +300,7 @@
- Update function
- - ...data ⟶ new-element
+ - ...data ⟶ element
-
A function that passes its arguments to the transform function and