@platform/react.ssr
Version:
A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.
15 lines (14 loc) • 412 B
TypeScript
import * as React from 'react';
import { GlamorValue } from '../common';
export declare type IFooProps = {
style?: GlamorValue;
};
export declare type IFooState = {};
export declare class Foo extends React.PureComponent<IFooProps, IFooState> {
state: IFooState;
private state$;
private unmounted$;
constructor(props: IFooProps);
componentWillUnmount(): void;
render(): JSX.Element;
}