-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
How to handle arrays? #109
Labels
Comments
There's currently no nice way to do this. You'll have to do something like: store.set('items', [...store.get('items'), newItem]); I plan to add a convenience method for this. See: sindresorhus/electron-store#52 |
@sindresorhus Doesn't this cause performance issues when the array is big? |
Only for huge arrays, and you should not store huge chunks of data in |
subins2000
added a commit
to subins2000/conf
that referenced
this issue
Aug 20, 2020
For anyone wanting to work on this, see the initial attempt and feedback in: #124 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's say I have a config
How can I add an item to items array?
Thanks
The text was updated successfully, but these errors were encountered: