Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional base

base: undefined | Element | Text

context

context: any

props

props: any

state

state: Readonly<any>

Methods

Optional componentDidCatch

componentDidCatch:

Optional componentDidMount

componentDidMount:

Optional componentDidUpdate

componentDidUpdate:

Optional componentWillMount

componentWillMount:

Optional componentWillReceiveProps

componentWillReceiveProps:

Optional componentWillUnmount

componentWillUnmount:

Optional componentWillUpdate

componentWillUpdate:

forceUpdate

  • forceUpdate(callback?: () => void): void
  • Parameters

    • Optional callback: () => void
        • (): void
        • Returns void

    Returns void

Optional getChildContext

getChildContext:

Optional getSnapshotBeforeUpdate

getSnapshotBeforeUpdate:

Abstract render

  • render(props?: any, state?: Readonly<any>, context?: any): ComponentChild

setState

  • setState<K>(state: null | ((prevState: Readonly<any>, props: Readonly<any>) => null | Pick<any, K> | Partial<any>) | Pick<any, K> | Partial<any>, callback?: () => void): void
  • Type parameters

    • K: string | number | symbol

    Parameters

    • state: null | ((prevState: Readonly<any>, props: Readonly<any>) => null | Pick<any, K> | Partial<any>) | Pick<any, K> | Partial<any>
    • Optional callback: () => void
        • (): void
        • Returns void

    Returns void

Optional shouldComponentUpdate

shouldComponentUpdate:

Generated using TypeDoc