diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-04-18 19:24:23 +0300 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-04-18 19:24:23 +0300 |
| commit | 8fa2077f292ed0fcabbdb01a436fc267fb16ae79 (patch) | |
| tree | 2572ba5811d4de48d327cd2a038ccba490d4fc7f /README.md | |
| parent | 94f8cc415b7827b86d5c7bed3adf0b5c81b0e194 (diff) | |
Add state() helper method
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -222,3 +222,11 @@ If you want to get all subscriptions, you can use the `subscriptions` method. Th ```typescript app.subscriptions(); ``` + +#### Get current app state + +If you want to get the current state of the app, you can use the `state` method. This method returns the current state of the app. + +```typescript +app.state(); +``` |
