Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Lifecycle<P, S>

Type parameters

  • P: object

  • S: object

Hierarchy

  • Lifecycle

Index

Methods

onBeforeMount

  • onBeforeMount(): void
  • aliases are available here

    Returns void

onBeforeUnmount

  • onBeforeUnmount(): void
  • Returns void

onMount

  • onMount(): void
  • Returns void

onUnmount

  • onUnmount(): void
  • Returns void

onUpdate

  • onUpdate(stateChange?: object): void
  • Parameters

    • Optional stateChange: object
      • state: S

    Returns void

onUpdated

  • onUpdated(): void
  • Returns void

shouldUpdate

  • shouldUpdate(stateChange: object, nextOpts: P): boolean
  • Parameters

    • stateChange: object
      • state: S
    • nextOpts: P

    Returns boolean

Generated using TypeDoc