Expensify / react-native-onyx

Persistent, offline-first state management solution for React Native. Easy to use with minimal config and boilerplate.
MIT License
151 stars 71 forks source link

Skip empty Snapshot update #562

Closed luacmartins closed 2 months ago

luacmartins commented 3 months ago

Details

Skips updating snapshot keys if the update is empty.

Related Issues

$ https://github.com/Expensify/App/issues/43899

Automated Tests

N/A

Manual Tests

  1. Go to staging.new.expensify.com
  2. Log out and log in again if sorting has been applied before (or reset cache and restart).
  3. Go to Search.
  4. Click on any sorting
  5. Verify that the page does not show the empty state

Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
github-actions[bot] commented 2 months ago

🚀Published to npm in v2.0.50