Lilact
    Preparing search index...

    Function useSelector

    • Hook that returns selected data from the store using a selector.

      Parameters

      • selector: any

        Function that derives a value from the store state.

      • OptionalequalityFn: (a: any, b: any) => boolean = ...

        Determines when the selected value should update.

      Returns any

      The selected slice of state.