Pinia performance ? #411
-
Hi guys, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
only a partial store is always kept. Namely, the state is preserved (that's the point of having a store). You are free to free the data at any moment to reduce memory consumption by resetting a big array or setting a value to Lags should not happen. One can also use |
Beta Was this translation helpful? Give feedback.
only a partial store is always kept. Namely, the state is preserved (that's the point of having a store). You are free to free the data at any moment to reduce memory consumption by resetting a big array or setting a value to
null
.Lags should not happen. One can also use
markRaw()
for data that doesn't change