Perseus
    Preparing search index...

    Hierarchy

    • Component<Props>
      • IframeContentRenderer
    Index

    Constructors

    Properties

    _frame: HTMLIFrameElement | null | undefined
    _isMounted: boolean
    _lastData: any
    _lastHeight: number
    container: RefObject<HTMLDivElement> = ...
    iframeID: number

    Methods

    • Called immediately after updating occurs. Not called for the initial render.

      The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

      Parameters

      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

    • Called to determine whether the change in props and state should trigger a re-render.

      Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed.

      If false is returned, Component.render, componentWillUpdate and componentDidUpdate will not be called.

      Parameters

      Returns boolean