You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree , store seems pretty unnecessary these days.
I already have some wrapper code around localStoragein Rapid, I can just do the same thing here too.
I would like to suggest dropping store dependency and using localStorage directly.
Pros:
Cons:
See https://www.npmjs.com/package/store#user-content-list-of-supported-browsers and https://caniuse.com/mdn-api_window_localstorage
But osm-auth already has workaround when store wasn't enabled:
osm-auth/src/osm-auth.mjs
Line 171 in 1f2a8a3
What do you think?
I can prepare PR if it makes sense
The text was updated successfully, but these errors were encountered: