UNPKG

@platform/react.ssr

Version:

A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.

20 lines (19 loc) 515 B
import * as React from 'react'; import { GlamorValue } from './common'; export declare type ITestProps = { style?: GlamorValue; }; export declare type ITestState = { count?: number; foo?: JSX.Element; }; export declare class Test extends React.PureComponent<ITestProps, ITestState> { state: ITestState; private state$; private unmounted$; constructor(props: ITestProps); componentWillUnmount(): void; readonly count: number; render(): JSX.Element; private handleClick; }