Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/Onyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ function init({
const Onyx = {
connect,
disconnect,
getAllKeys,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just see which keys exist by subscribing to the collection? If the new value that comes back from the API is different then what we have here then just remove those keys?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, very true. Closing this PR, since we no longer need it. Thanks for all the input!

set,
multiSet,
merge,
Expand Down