Hi there,
so I have a function in my app where I reset settings to the defaults. Thus I was trying to use .clear()
. But I noticed that it first sets all values to the undefined
and then to the default value. I have around 40 values and considering that I am also watching them for changes so that I can write them to the log, it takes over 10 seconds.
Quick fix was to use settings.store = defaults
and then only values that are different from the defaults get updated.
Maybe that should be the default behavior?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too