Reference
PureComponent
Class-style component contract that skips updates for shallow-equal props and state.
Signature
interface PureComponentMembers
props: Pstate?: Sfunction forceUpdate(callback?: (): void): voidfunction render(): ReactCompatNodefunction setState(partial: Partial<S> | (previousState: Readonly<S>, props: Readonly<P>): S | Partial<S> | null, callback?: (): void): voidfunction shouldComponentUpdate(nextProps: P, nextState: S): boolean