a reactive (signals based) hypermedia web framework (wip)
stormlightlabs.github.io/volt/
hypermedia
frontend
signals
1/**
2 * VoltX.js - A lightweight reactive framework for declarative UIs
3 *
4 * @packageDocumentation
5 */
6
7export { asyncEffect } from "$core/async-effect";
8export { mount } from "$core/binder";
9export { charge } from "$core/charge";
10export {
11 BindingError,
12 ChargeError,
13 clearErrorHandlers,
14 EffectError,
15 EvaluatorError,
16 HttpError,
17 LifecycleError,
18 onError,
19 PluginError,
20 report,
21 UserError,
22 VoltError,
23} from "$core/error";
24export { parseHttpConfig, request, serializeForm, serializeFormToJSON, swap } from "$core/http";
25export {
26 clearAllGlobalHooks,
27 clearGlobalHooks,
28 getElementBindings,
29 isElementMounted,
30 registerElementHook,
31 registerGlobalHook,
32 unregisterGlobalHook,
33} from "$core/lifecycle";
34export { clearPlugins, getRegisteredPlugins, hasPlugin, registerPlugin, unregisterPlugin } from "$core/plugin";
35export { isReactive, reactive, toRaw } from "$core/reactive";
36export {
37 buildPath,
38 clearRouteCache,
39 compileRoute,
40 extractParams,
41 isMatch,
42 matchRoute,
43 matchRoutes,
44 normalizePath,
45 parseUrl,
46} from "$core/router";
47export type { RouteMatch } from "$core/router";
48export { getScopeMetadata } from "$core/scope-metadata";
49export { computed, effect, signal } from "$core/signal";
50export { deserializeScope, hydrate, isHydrated, isServerRendered, serializeScope } from "$core/ssr";
51export { getStore, registerStore } from "$core/store";
52export {
53 applyOverrides,
54 easings,
55 getEasing,
56 getRegisteredTransitions,
57 getTransition,
58 hasTransition,
59 parseTransitionValue,
60 prefersReducedMotion,
61 registerTransition,
62 unregisterTransition,
63} from "$core/transitions";
64export {
65 namedViewTransition,
66 startViewTransition,
67 supportsViewTransitions,
68 withViewTransition,
69} from "$core/view-transitions";
70export {
71 getRouterMode,
72 goBack,
73 goForward,
74 initNavigationListener,
75 navigate,
76 redirect,
77 setRouterMode,
78} from "$plugins/navigate";
79export { persistPlugin, registerStorageAdapter } from "$plugins/persist";
80export { scrollPlugin } from "$plugins/scroll";
81export {
82 getAnimation,
83 getRegisteredAnimations,
84 hasAnimation,
85 registerAnimation,
86 shiftPlugin,
87 unregisterAnimation,
88} from "$plugins/shift";
89export { surgePlugin } from "$plugins/surge";
90export { urlPlugin } from "$plugins/url";
91export type {
92 AnimationPreset,
93 ArcFunction,
94 AsyncEffectFunction,
95 AsyncEffectOptions,
96 ChargedRoot,
97 ChargeResult,
98 ComputedSignal,
99 ErrorContext,
100 ErrorHandler,
101 ErrorLevel,
102 ErrorSource,
103 GlobalHookName,
104 GlobalStore,
105 HydrateOptions,
106 HydrateResult,
107 IsReactive,
108 ParsedHttpConfig,
109 ParsedTransition,
110 PinRegistry,
111 PluginContext,
112 PluginHandler,
113 ProbeFunction,
114 PulseFunction,
115 ReactiveArray,
116 RetryConfig,
117 ScopeMetadata,
118 SerializedScope,
119 Signal,
120 TransitionPhase,
121 TransitionPreset,
122 UidFunction,
123 UnwrapReactive,
124 ViewTransitionOptions,
125} from "$types/volt";