react-native-onyx
react-native-onyx copied to clipboard
Persistent, offline-first state management solution for React Native. Easy to use with minimal config and boilerplate.
### Details E/App PR: https://github.com/Expensify/App/pull/44987 ### Related Issues GH_LINK ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related...
### Details There has been an update for the description of the `Onyx.merge(...)` method 9 months ago, but some jsdoc parts haven't been updated properly and can be misleading. ###...
In https://github.com/Expensify/react-native-onyx/pull/411 we changed code in Onyx to persist `null` values in cache, in order for the user to know, that a value has been accessed before but there's no...
### Details Added specifically for [importing and exporting full snapshots of Onyx data](https://github.com/Expensify/App/pull/41557). Note that in the PR that enables this, I actually added a lint rule to restrict its...
### Details This PR: 1. Fixes both `getCollectionKey()` and `splitCollectionMemberKey()` logic to consider some keys / collection keys edge cases with underscore that weren't being considered before e.g. `report__FAKE` and...
## Problem When there is an item set in a collection in Onyx, and Onyx.update is called with two merge updates where the first sets the collection item to null...
### Details ### Related Issues https://github.com/Expensify/react-native-onyx/issues/615 ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...
### Details ### Related Issues https://github.com/Expensify/react-native-onyx/issues/615 ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...
@mountiny ### Details This PR migrates Onyx to use `react-native-nitro-sqlite` instead of `react-native-quick-sqlite`. There are only some minor changes to the types and usages of some operations, so there are...
### Details ### Related Issues https://github.com/Expensify/App/issues/56483 ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...