Remove Stack
Compose is only component managment, not "routing" & page transitions anymore.
Rewrite example
Add example with a "Stack like" managed with @wbe/low-router & @wbe/interpol
Changes in Component
$rootbecomerootComponentconstructor has changed:
constructor(root: HTMLElement, options: Partial<ComponentOptions<P>> = {})
interface ComponentOptions<P> {
name: string
props: P
}static attrNameis renamepublic readonly name. Name is nowoptions.name ?? this.root?.classList?.[0]find()can accept "_element"mountedcan return a function called when component is unmounted.
Stack
- Stack component as been removed because his role remains out of subject of this repo. An example still available in
examples/basic.
Manage repo
- build with tsup