API reference
Everything exported from @madenowhere/phaze. The subpaths you import directly when used — phaze/store, phaze/portal, phaze/catch, phaze/time, phaze/match, phaze/numeric, phaze/list, phaze/revalidate, phaze/hydrate — are documented inline below or on their own pages.
The rest you don’t import by hand: phaze/static and phaze/defer are emitted by the compiler (from staticSubtreeHoist and the defer: namespace); phaze/dom is a low-level runtime/compiler barrel (only when you’re driving the DOM yourself); phaze/ssr-internal is SSR-only internal plumbing; and phaze/jsx-runtime / phaze/jsx-dev-runtime are the automatic JSX-transform targets (set once via jsxImportSource).
- Reactivity —
signal,computed,effect,batch,untrack,cleanup,abortSignal,listen, and scheduling. - Rendering —
render,hydrate,Fragment, refs, and thephaze/domprimitives. - Flow components —
<For>,<Portal>,<Catch>, and sharing state without prop-drilling. - Subpath exports —
phaze/dsl,phaze/time,phaze/match,phaze/numeric,phaze/list, and the full subpath map.
All exports
Section titled “All exports”| Export(s) | Import path | Reference |
|---|---|---|
signal | @madenowhere/phaze | Reactivity › signal |
computed | @madenowhere/phaze | Reactivity › computed |
effect | @madenowhere/phaze | Reactivity › effect |
batch | @madenowhere/phaze | Reactivity › batch |
untrack | @madenowhere/phaze | Reactivity › untrack |
cleanup | @madenowhere/phaze | Reactivity › cleanup |
abortSignal | @madenowhere/phaze | Reactivity › abortSignal |
listen / listenOn | @madenowhere/phaze | Reactivity › listen |
render | @madenowhere/phaze | Rendering › render |
hydrate | @madenowhere/phaze/hydrate | Rendering › hydrate |
Fragment | phaze/jsx-runtime (automatic) | Rendering › Fragment |
JSX ref shapes | — | Rendering › Refs |
setText, setAttribute, setClass, setStyle, template, placeNode, hasMoveBefore, abortNode | @madenowhere/phaze/dom | Rendering › DOM primitives |
For | @madenowhere/phaze | Flow components › <For> |
Portal | @madenowhere/phaze/portal | Flow components › <Portal> |
Catch | @madenowhere/phaze/catch | Flow components › <Catch> |
s, c, watch, phaze | @madenowhere/phaze/dsl | Subpaths › DSL & directives |
store | @madenowhere/phaze/store | Store |
interval, timeout, seconds, minutes, hours, days, weeks, years, ms | @madenowhere/phaze/time | Subpaths › phaze/time |
is, not, augmented signal / s | @madenowhere/phaze/match | Subpaths › phaze/match |
inc, dec, add, sub | @madenowhere/phaze/numeric | Subpaths › phaze/numeric |
remove, push, prepend, replace, patch, matches | @madenowhere/phaze/list | Subpaths › phaze/list |
staticSubtree | @madenowhere/phaze/static (compiler-emitted) | phaze/static |
withRevalidate | @madenowhere/phaze/revalidate | phaze/revalidate |
other subpaths (/defer, /ssr-internal, /jsx-runtime, …) | — | Subpaths › Subpath exports |