Function getReactInstance

  • Get the React instance of an element

    Parameters

    • element: Element

      Element to get the React instance of

    Returns Fiber | null

    React instance

    If the React instance could not be found