UNPKG

react-to-component

Version:

Blazing fast library to componentify imperative or functional apis

21 lines (20 loc) 574 B
import * as React from "react"; import { Props } from "./types"; interface State { data: any | null; error: Error | null; } export default class AsyncComponentify extends React.Component<Props<any, any>, State> { static defaultProps: { parametersDidChange: (p: any[], c: any[]) => boolean; }; state: State; private mounted; componentWillUnmount(): void; componentDidMount(): void; componentDidUpdate(prevProps: Props<any, any>): void; render(): JSX.Element; private getNonFunctionParams; private execute; } export {};