stereokai
Exclude store property from `unwrap` or from being watched
When updating a SolidJS store, the entire
next
state of the store gets unwrapped (for example by updateArray()
). Let's say the store is an array of objects, and each object has a data
property which is a really big array. Unwrapping each of these arrays adds up to a very noticeable slow down every time the store is updated. Is there a way to exclude this property from being unwrapped, or from being "watched" by SolidJS? Thanks.23 replies