Lilact
    Preparing search index...

    Function useInsertionEffect

    • Executes a side effect after the DOM updates have been committed.

      Parameters

      • effect: any

        Callback invoked after render commit.

      • Optionaldeps: any[] = undefined

        Optional dependency list (or an object for shallow comparison) used to determine when to re-run the effect.

      Returns Promise<void>

      void