Skip to content

Commit 9244644

Browse files
committed
Include Andrew's feedback
1 parent 683d541 commit 9244644

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/sdk/react-native/realm-database/write-transactions.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Write Transactions - React Native SDK
1111
:depth: 2
1212
:class: singlecol
1313

14-
Within a ``<RealmProvider>`` that has an open realm, you can access a realm with
14+
Within a ``<RealmProvider>``, you can access a realm with
1515
the ``useRealm()`` hook. Then, you can create Realm objects
1616
using a :js-sdk:`Realm.write() <Realm.html#write>` transaction block.
1717

@@ -44,6 +44,9 @@ After processing a transaction, Realm Database either **commits** it or
4444
the changes to send to Atlas App Services. The SDK sends
4545
these changes when a network is available.
4646

47+
- After a commit, objects and collections returned by ``useQuery`` or
48+
``useObject`` rerender to include relevant changes.
49+
4750
- Realm Database does not apply any operations in a **cancelled**
4851
transaction. Realm Database cancels a transaction if an operation
4952
fails or is invalid.

0 commit comments

Comments
 (0)