This framework is simply a view layer built on top of the Observable library oby, knowing how that works is necessary to understand how this works. Th

GitHub - vobyjs/voby: A high-performance framework with fine-grained observable-based reactivity for building rich applications.

submited by
Style Pass
2022-05-14 01:30:07

This framework is simply a view layer built on top of the Observable library oby, knowing how that works is necessary to understand how this works.

This framework basically re-exports everything that oby exports, sometimes with a slightly different interface, adjusted for usage as components or hooks, plus some additional functions.

The following is going to be a very shallow documentation of the API. As I mentioned this probably isn't production-grade software, it may become that in the future though, are you interested?

No additional methods are attached to this function. Everything that oby attaches to it is instead exported as components and hooks.

This function creates a context object, optionally with a default value, which can later be used to provide a new value for the context or to read the current value.

This is the internal function that will make DOM nodes and call/instantiate components, it will be called for you automatically via JSX.

Leave a Comment