I'm pleased to announce the 0.0.9 release of hyperscript.
BREAKING CHANGE: Attribute literals now use the syntax [@attribute-name]
or @attribute-name
rather than
[attribute-name]
BREAKING CHANGE: The eventsource feature now uses the syntax eventsource <name> [from <url>]
so that URLs can be optionally omitted from the EventSource definition.
The append command allows you to append values to strings, arrays and so forth
The behavior and install features allow you to define generic behaviors in hyperscript and install them on elements
The render supports client-side templates defined in hyperscript
There is now a Prism-based syntax highlighting project: https://github.com/dz4k/prism-hyperscript
The default command allows you to default a variable to a given value
The increment command allows you to increment variable's value
The halt command allows you modify the current event's bubbling and default behaviors
The event handler added support for the synthetic mutation
event, based on MutationObservers
The event handler added support for the synthetic intersection
event, based on IntersectionObservers
The closest expression added support getting and setting attribute values directly
Enjoy!