adopted-ember-addons / adopted-ember-addons/ember-local-storage
Explain how els fallbacks work
Ouverte
documentation
- Langage dominant
- JavaScript
- Étoiles
- 220
- Forks
- 78
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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`
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.