Bridges
Effect-typed: what this page covers uses Effect's own types, so it moves to a new Effect major only in a Wardic major (the roadmap).
Effect's reactive values as Solid's, for reading Wardic's own or building on them.
import { fromAtom, streamToSignal, useWardicRuntime } from "@wardic/solid" // or "@wardic/solid/unstable/v2"
const visible = fromAtom(probe.visible, { serverValue: true })
const point = streamToSignal(pointerMoves, { x: 0, y: 0 })fromAtom(atom, { serverValue? })is aneffect/reactivityAtom as an accessor, read through the provider'sAtomRegistryand followed until the owner is cleaned up. A server builds no registry: giveserverValuefor an atom read during a server render, which a hydrating page keeps until it has mounted, then follows the atom.streamToSignal(stream, initial)is a coreStreamas an accessor:initialuntil its first value, then its latest, the stream run on the provider's runtime until the owner is cleaned up.
On Solid 2, each accessor carries its Atom, so a style given it follows the Atom itself, and paints in the frame the value changes. Call them where you'd make a signal, under a WardicProvider.