a way to append client_storage without using set and does not delete previous data #1090
Unanswered
bobwatcherx
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could simply get the values for the key first (in your case you would then have a list |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Is there a way to add data? but does not overwrite old data. let's say I have a case. with the school key. and has data ['room','lamp','teacher'] . and I want to add data into the key scholl. without having to remove the previous data. suppose I want to add more data ['milk,'sauce','monday'] . so for client_storage that has a scholl key. will have data ['room','lamp','teacher','milk','sauce','monday']
is there a way like this?
page.client_storage.append("mycart",data)
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions