Functions

Function: useOrder

react-autonomy.useOrder

useOrder(props): UseOrder

The useOrder hook returns the current loaded order.

This function has a side effect that will automatically start loading the subscription, if needed, upon initialization.



JS


Parameters

Name

Type

Description

props

Object



props.orderNumber

string

The order number of the order to load.

Returns

UseOrder

Defined in