Skip to content

Commit a4d90ed

Browse files
authored
Merge pull request #170 from rocicorp/0xcadams/active-queries
docs: fix active queries language
2 parents 60f036e + 4a2be25 commit a4d90ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/docs/reading-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Active queries are created one of four ways:
459459
3. The app calls [`preload()`](#preloading) to sync larger queries without a view.
460460
4. The app calls `q.run()` to get a single result.
461461

462-
Active queries sync until they are _deactivated_. The way this happens depends on how the query was created:
462+
Active queries can be _deactivated_ according to how they were created:
463463

464464
1. For `materialize()` queries, the UI calls `destroy()` on the view.
465465
2. For `useQuery()`, the UI unmounts the component (which calls `destroy()` under the covers).

0 commit comments

Comments
 (0)