UNPKG

solid-js

Version:

A declarative JavaScript library for building user interfaces.

22 lines (21 loc) 1.09 kB
export { createRoot, createSignal, createEffect, createRenderEffect, createComputed, createDeferred, createSelector, createMemo, createResource, onMount, onCleanup, onError, untrack, batch, on, enableScheduling, startTransition, useTransition, createContext, useContext, children, getListener, getOwner, runWithOwner, equalFn, $PROXY } from "./reactive/signal"; export type { Accessor, Setter, Resource, ResourceReturn, Context, ReturnTypes } from "./reactive/signal"; export * from "./reactive/observable"; export * from "./reactive/scheduler"; export * from "./reactive/array"; export * from "./render"; import type { JSX } from "./jsx"; declare type JSXElement = JSX.Element; export type { JSXElement, JSX }; export declare function awaitSuspense(): void; import { writeSignal, serializeGraph, registerGraph, hashValue } from "./reactive/signal"; declare let DEV: { writeSignal: typeof writeSignal; serializeGraph: typeof serializeGraph; registerGraph: typeof registerGraph; hashValue: typeof hashValue; }; export { DEV }; declare global { var Solid$$: boolean; }