Hooks are much more a reimplementation of the component lifecycle; receiving a change stream is only one of the use cases and has very little resemblance to observables, except that they trigger a re-render “automatically”.
The issue below is still to be fixed.
It currently returns an array when it should be a DocumentFragment. It's related to the popular `htm` package that Sinuous uses.
@localvoid thanks for the investigation, Sinuous can get around this with the template module I believe.
Also Sinuous doesn't use the same library as Solid or S.js for tracking dependencies. I'll do some investigating if it has the same issue that you posted.
`o` is an alias for `observable`.
`observable` can be used as well.
`h` is the pragma, comes from hyperscript.
it's used by a lot of libraries as the createElement function name so I didn't think this needed a more descriptive name.
https://github.com/dominictarr/observable https://github.com/adamhaile/S
Mobx and Vue use the same technique for running computeds.
As does Solid and Sinuous, etc...