valdres-qwik
v0.0.1
Published
Qwik bindings for Valdres — reserved. Not yet implemented; today use the framework-agnostic `valdres` core. See README.
Maintainers
Readme
valdres-qwik
Reserved — not yet implemented.
This package name is reserved for first-class Qwik bindings for Valdres. It currently ships no functionality.
Use Valdres with Qwik today
The valdres core is framework-agnostic — drive it directly and bridge it into
Qwik'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 Qwik signal (useSignal)
})Dedicated valdres-qwik bindings will wrap this pattern for you. Track progress
at https://github.com/eigilsagafos/valdres
