Obtains the properties that are bound to the state of a Store. These properties represent the current state of the Store.
The properties as an object.
This API does not have parameters.
In this example, the API obtains the properties bound to the state of a Store, which are then stored in props.
const props = getPConnect().getStateProps();