Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • HookProps

Hierarchy

Index

Constructors

constructor

Properties

Optional base

base?: Element | Text

context

context: ViewContext

debug

debug: boolean

handleRootEl

handleRootEl: (el: null | HTMLElement) => void

Type declaration

propEquality

propEquality: EqualityFuncs<RenderHookProps<HookProps>>

props

props: RenderableProps<RenderHookProps<HookProps>, any>

Private rootElRef

rootElRef: any

state

state: Readonly<Dictionary>

stateEquality

stateEquality: EqualityFuncs<Dictionary>

Static addPropsEquality

addPropsEquality: (propEquality: any) => void

Type declaration

    • (propEquality: any): void
    • Parameters

      • propEquality: any

      Returns void

Static addStateEquality

addStateEquality: (stateEquality: any) => void

Type declaration

    • (stateEquality: any): void
    • Parameters

      • stateEquality: any

      Returns void

Static contextType

contextType: any

Static Optional defaultProps

defaultProps?: any

Static Optional displayName

displayName?: string

Methods

Optional componentDidCatch

  • componentDidCatch(error: any, errorInfo: any): void

Optional componentDidMount

  • componentDidMount(): void

Optional componentDidUpdate

  • componentDidUpdate(previousProps: Readonly<RenderHookProps<HookProps>>, previousState: Readonly<Dictionary>, snapshot: any): void

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<RenderHookProps<HookProps>>, nextContext: any): void

Optional componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<RenderHookProps<HookProps>>, nextState: Readonly<Dictionary>, nextContext: any): void

forceUpdate

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

Optional getChildContext

  • getChildContext(): object

Optional getSnapshotBeforeUpdate

render

setState

shouldComponentUpdate

Static Optional getDerivedStateFromError

  • getDerivedStateFromError(error: any): null | object

Static Optional getDerivedStateFromProps

  • getDerivedStateFromProps(props: object, state: object): null | object

Generated using TypeDoc