react-native-onyx icon indicating copy to clipboard operation
react-native-onyx copied to clipboard

Persistent, offline-first state management solution for React Native. Easy to use with minimal config and boilerplate.

Results 54 react-native-onyx issues
Sort by recently updated
recently updated
newest added

### Details `react-native` bundles its code using the metro bundler. For metro bundler we don't need to transpile our code. Its able to use our typescript source code directly. The...

### Details ### Related Issues GH_LINK ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...

When trying to use onyx in a blank new app you get failures like these: ![CleanShot 2024-11-07 at 07 43 49](https://github.com/user-attachments/assets/0f55f730-a12d-402f-984a-bfea1dfec554) I think the main problem / reason for that...

### Details When the key from `useOnyx` is changed, the previousKey's value is returned because we don't update `newValueRef.current` until the `Onyx.connect()` is fired. This PR updates the `getSnapshot` function...

### Details ### Related Issues GH_LINK ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...

### Details Another attempt to merge it. Indicates 20-30% improvement in rendering time on `ReconnectApp` ``` === 📁 Trace File Analysis === 📄 File: profiling-data.15.12.2025.12-10-14.json • Commit count: 14 •...

### Details ### Related Issues GH_LINK E/App PR: https://github.com/Expensify/App/pull/68947 ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related...

### Details ### Related Issues GH_LINK ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked the correct issue in the `### Related Issues` section above...

### Details Eliminate wasted emissions and reduce callback storms by adding a guard that skips subscriptions for invalid keys like `undefined` or `null` ### Related Issues GH_LINK ### Automated Tests...

### Details Not for merging, just a part of audit investigations ### Related Issues GH_LINK https://github.com/Expensify/App/issues/71207 ### Automated Tests ### Manual Tests ### Author Checklist - [ ] I linked...