Skip to content

Why is wxt/storage async when localStorage is not? #1066

Answered by aklinker1
BingeCode asked this question in Q&A
Discussion options

You must be logged in to vote

Firefox supports the chrome global, so it just works.

As for the differences, read the "concepts and usages" section from the previous link.

But TLDR localStorage wasn't designed for extensions and doesn't work how you think it should.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BingeCode
Comment options

@aklinker1
Comment options

Answer selected by BingeCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants