nano-jsx
Version:
SSR first, lightweight 1kB JSX library.
18 lines • 500 B
TypeScript
import { Component } from '../component.js';
interface Props {
fallback: any;
cache?: boolean;
[key: string]: any;
}
export declare class Suspense extends Component<Props> {
ready: boolean;
constructor(props: Props);
didMount(): Promise<void>;
ssr(): void;
loadFromCache(cache: boolean): any;
prepareData(rest: any, fnc: Function[], cache: boolean): {};
addDataToChildren(data: any): void;
render(): any;
}
export {};
//# sourceMappingURL=suspense.d.ts.map