Timeline Studio API Documentation - v0.26.0
    Preparing search index...

    Global error boundary component that catches all unhandled errors and rejections

    Hierarchy

    • Component<Props, State>
      • AppErrorBoundary
    Index

    Constructors

    Methods

    • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

      Parameters

      • error: Error
      • errorInfo: ErrorInfo

      Returns void

    • Called immediately after a component is mounted. Setting state here will trigger re-rendering.

      Returns void

    • Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount.

      Returns void

    • Returns
          | string
          | number
          | bigint
          | boolean
          | Iterable<ReactNode, any, any>
          | Promise<AwaitedReactNode>
          | Element