@tremendous/help
    Preparing search index...

    Function useHtmlRef

    • Helper hook for getting a ref to be used for html elements Works exactly like useRef, except that it will update the ref when the component mounts, so that the ref is not null

      Type Parameters

      • T extends HTMLElement

      Returns RefObject<T>

      A ref object that will update when the initial setting of the ref's target happens