You can access the app state using a React hook.
useAppBridgeStateAnchor link to section titled "useAppBridgeState"
useAppBridgeState hook supports accessing all or parts of the application state, including keys like
staffMember. For more information about options, refer to Props.
Example codeAnchor link to section titled "Example code"
Get the entire app state with no arguments.
Get a specific piece of the app state with an argument.
||Key in app state to access||No|