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

localstorage remove_item #56

Merged
merged 1 commit into from
Jul 10, 2024
Merged

localstorage remove_item #56

merged 1 commit into from
Jul 10, 2024

Conversation

v-kat
Copy link

@v-kat v-kat commented Jul 5, 2024

I haven't tested it much so it's still a draft but the wasm local storage delete never worked properly for me so I was going to switch to https://docs.rs/web-sys/latest/web_sys/struct.Storage.html#method.remove_item I'm still waiting for some other libraries to update to do more extensive testing.

@johanhelsing
Copy link
Owner

johanhelsing commented Jul 10, 2024

The documentation for remove_item makes sense. And if you had problems with delete then lets just go with remove_item... If it causes problems, we can just do a patch release.

Compilation is failing on wasm, though... so that needs to be fixed.

@extrawurst extrawurst mentioned this pull request Jul 10, 2024
@extrawurst
Copy link
Contributor

@v-kat I provided a separate PR for upgrading bevy itself. i had no chance to debug the other fix you are providing here, but this way we unblock users who need bevy 0.14 support

@v-kat v-kat changed the title localstorage remove_item and bevy 0.14 localstorage remove_item Jul 10, 2024
@johanhelsing johanhelsing marked this pull request as ready for review July 10, 2024 19:00
@johanhelsing johanhelsing merged commit 564cc3b into johanhelsing:main Jul 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants