You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,6 +32,12 @@ Events will be synced across clients and materialized into state (i.e. SQLite ta
31
32
32
33
<CommitEventSnippet />
33
34
35
+
### Streaming events
36
+
37
+
Currently only events confirmed by the sync backend are supported.
38
+
39
+
<StreamEventsSnippet />
40
+
34
41
### Best practices
35
42
36
43
- It's strongly recommended to use past-tense event names (e.g. `todoCreated`/`createdTodo` instead of `todoCreate`/`createTodo`) to indicate something already occurred.
The `Store` is the most common way to interact with LiveStore from your application code. It provides a way to query data, commit events, and subscribe to data changes.
14
15
@@ -32,6 +33,12 @@ For how to create a store in React, see the [React integration docs](/framework-
32
33
33
34
<CommitEventSnippet />
34
35
36
+
### Streaming events
37
+
38
+
Currently only events confirmed by the sync backend are supported.
39
+
40
+
<StreamEventsSnippet />
41
+
35
42
### Shutting down a store
36
43
37
44
LiveStore provides two APIs for shutting down a store:
0 commit comments