This repository was archived by the owner on Sep 13, 2025. It is now read-only.
v0.4.0
- Major mechanics update
- A component now yields a signal directly instead of a function which produces a signal
- this prevents a signal from being skipped due to the asynchronous nature of the runtime
- The
Subjectclass now also allows thenextSignalto be retrieved already- this is necessary, for example, in the case of the
Childrenclass, where rendering can invalidate the current signal downstream
- this is necessary, for example, in the case of the
- The props of a component may only be primitives (
boolean,number,string) - The
hfunction is implemented more robustly, has full test coverage, and many bugs have been fixed - The
hfunction now uses thekeyattribute to cache both custom elements as well as intrinsic elements - The newly introduced
reffunction can be used to more conveniently create stable element references declaratively
- A component now yields a signal directly instead of a function which produces a signal