Add ability to get only the changed data in createViewModel
See original GitHub issueCurrently, according to docs, createViewModel has only isPropertyDirty(propName)
Is it possible to add an option to get all changed props (hopefully with the data)
looking at https://github.com/mobxjs/mobx-utils/blob/c1d82ef88d0c2ee77f6a31e6dccde536c570fe44/src/create-view-model.ts#L65
we can just open an option to get localValues
back.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Best Way to Update only modified fields with Entity Framework
I know it can be achieve by "mapping columns one by one" or by creating "hidden fields for those remaining 25 columns". Just...
Read more >Component registration - Knockout.js
For Knockout to be able to load and instantiate your components, you must register them using ko.components.register , providing a configuration as ...
Read more >Saved State module for ViewModel - Android Developers
Caution: SavedStateHandle only saves data written to it when the Activity is ... When the key's value is updated, the LiveData receives the...
Read more >Recommended Ways To Create ViewModel or ...
There are few ways to create ViewModel and AndroidViewModel . This article shows you the Kotlin examples of creating them.
Read more >How ViewModels Work on Android - Better Programming
The activity or the fragment should be able to observe changes in the ViewModel . ... ViewModel 's only responsibility is to manage...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
LGTM, thanks!
Released as 5.2.0