summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-18 19:24:23 +0300
committerAsko Nõmm <asko@nmm.ee>2025-04-18 19:24:23 +0300
commit8fa2077f292ed0fcabbdb01a436fc267fb16ae79 (patch)
tree2572ba5811d4de48d327cd2a038ccba490d4fc7f /README.md
parent94f8cc415b7827b86d5c7bed3adf0b5c81b0e194 (diff)
Add state() helper method
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 25d4038..ce96c00 100644
--- a/README.md
+++ b/README.md
@@ -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();
+```