valdres-stencil
v0.0.1
Published
Stencil bindings for Valdres — reserved. Not yet implemented; today use the framework-agnostic `valdres` core. See README.
Maintainers
Readme
valdres-stencil
Reserved — not yet implemented.
This package name is reserved for first-class Stencil bindings for Valdres. It currently ships no functionality.
Use Valdres with Stencil today
The valdres core is framework-agnostic — drive it directly and bridge it into
Stencil's reactivity:
import { store, atom } from "valdres"
const s = store()
const counter = atom(0)
s.get(counter) // read
s.set(counter, 1) // write
const unsub = s.sub(counter, () => {
// push s.get(counter) into a @State() property
})Dedicated valdres-stencil bindings will wrap this pattern for you. Track
progress at https://github.com/eigilsagafos/valdres
