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

Explain how els fallbacks work #283

Open
Tracked by #335
fsmanuel opened this issue Apr 24, 2018 · 0 comments
Open
Tracked by #335

Explain how els fallbacks work #283

fsmanuel opened this issue Apr 24, 2018 · 0 comments

Comments

@fsmanuel
Copy link
Member

Els always uses a plain object as a fallback (https://github.com/funkensturm/ember-local-storage/blob/master/addon/helpers/storage.js#L35) so if the app depends on localStorage being present the consuming app needs to use tryStorage and handle the undefined case on there own to inform the user that the app may be useless because nothing is persisted to localStorage

@fsmanuel fsmanuel mentioned this issue Oct 31, 2021
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant