Unified/shared storage + fields e.g. for guest names #3
Labels
3. to review
Waiting for reviews
discussion
Being discussed
documentation
Improvements or additions to documentation
E.g. guest name was chosen to be
localStorage.getItem('nick')
in the past and we decided it should e.g. persist over apps, so the same value should be used in Talk, Deck, Text, etc.Since all apps use a scoped browser storage, we need a fixed scope for shared data like this, so all apps can use the same scope.
Proposal would be
server
orshared
and in there we usenick
orguest-name
?After we agreed on this, it should be documented in the readme.
cc @juliushaertl @ChristophWurst
PS: would a
getUnscopedItem
function make sense, so you don't need 2 stores, one for the guest name and one for your apps data?The text was updated successfully, but these errors were encountered: