Usage
Methods
Updates the global state with new key-value pairs.Parameters:
keyValue(object): Key-value pairs to merge into global state
Promise<void>Retrieves a specific value from global state. Supports nested properties using dot notation.Parameters:
prop(string): Property name or path (e.g., “user.settings.theme”)
anyReturns the entire global state object.Returns:
objectClears all global state data.Returns:
void