Skip to content

[Onyx] Make Onyx.update atomic #101801

Open
Open

Description

@roryabraham

Follow-up from Expensify/react-native-onyx#834: make Onyx.update atomic so all cache writes in a batch happen before any subscriber is notified.

This prevents subscribers from rendering against a partially updated cache when multiple keys are written together.

Context: Expensify/react-native-onyx#834 (comment)

Issue OwnerCurrent Issue Owner: @huult

Activity

  1. added theissue type on Sep 21, 2026
  2. melvin-bot commented on Oct 14, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. @fabioh8010, @huult, @roryabraham eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  3. fabioh8010 commented on Oct 15, 2026

    @fabioh8010
    Contributor

    I'm currently investigating this one

  4. fabioh8010 commented on Oct 19, 2026

    @fabioh8010
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions