Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sebobo opened this issue May 1, 2021 · 1 comment
Assignees
Labels
Bug Something isn't working

Comments

@Sebobo
Copy link
Member

Sebobo commented May 1, 2021

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

@Sebobo Sebobo added the Bug Something isn't working label May 1, 2021
@Sebobo
Copy link
Member Author

Sebobo commented Apr 7, 2023

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.

@Sebobo Sebobo self-assigned this Apr 7, 2023
@Sebobo Sebobo moved this to Ready in Media UI releases Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

1 participant