diff --git a/docs/modules/database.md b/docs/modules/database.md index 465526b1..63a2c8ee 100644 --- a/docs/modules/database.md +++ b/docs/modules/database.md @@ -181,7 +181,7 @@ class ToDos extends Component { #### Differences between `.on` & `.once` With persistence enabled, any calls to a ref with `.once` will always read the data from disk and not contact the server. -On behavious differently, by first checking for a connection and if none exists returns the persisted data. If it successfully connects +On behaves differently, by first checking for a connection and if none exists returns the persisted data. If it successfully connects to the server, the new data will be returned and the disk data will be updated. The database refs has a `keepSynced()` function to tell the RNFirebase library to keep the data at the `ref` in sync.