Skip to content

Reinitialize localStorage state if schema doesn't match anymore due to an update #71

Open

Description

@Sebobo

If something in the schema changes the whole module currently crashes when loading

Activity

  1. Sebobo commented on Apr 7, 2023

    @Sebobo
    MemberAuthor

    The localStorageEffect used in RecoilJS atoms now allows adding a validate callback to allow checking whether the read value from the store matches the pattern the application expects. This is already implemented for the pagination state.

  2. self-assigned this
    on Apr 7, 2023
  3. added theissue type on Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions