Skip to content

Commit

Permalink
FIX todos
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Dec 21, 2022
1 parent d203508 commit 69dc866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orga/before-next-major.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This list contains things that have to be done but will create breaking changes.



## Make RxDocuments immutable
## Make RxDocuments immutable [DONE]
At the current version of RxDB, RxDocuments mutate themself when they recieve ChangeEvents from the database.
For example when you have a document where `name = 'foo'` and some update changes the state to `name = 'bar'` in the database, then the previous javascript-object will change its own property to the have `doc.name === 'bar'`.
This feature is great when you use a RxDocument with some change-detection like in angular or vue templates. You can use document properties directly in the template and all updates will be reflected in the view, without having to use observables or subscriptions.
Expand Down

0 comments on commit 69dc866

Please sign in to comment.