Skip to content

[Feat] Add a configuration option to unsubscribe for some keys for StorageEvent across tabs #127

Description

@mdneyazahmad

Problem

When user opens multiple tabs with different reports. We do not want some data in onyx to sync across tabs.

Proposed Solution

We will add a property keysToDisableSyncEvents an array with keys on configuration object for Onyx.init. It will prevent syncing for these keys when StorageEvent is fired.

suggested by: @marcaaron

comming from pr Expensify/App#8227

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions