createMemo with `equals: false` not reactive when mutating reference
I am trying to prevent to create
DOMMatrix
with each calculation, so I thought to mutate 1 with createMemo(() => ..., {equals: false})
, assuming it would trigger all subscriptions even when returning the same value (in this case the mutated DOMMatrix), but it doesn't as you can see: https://playground.solidjs.com/anonymous/1a137694-7267-439b-a7d3-8164a541e800
Anybody an idea how to approach this?Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
3 Replies
Mm, it doesn't work with primitives either like
https://playground.solidjs.com/anonymous/69e08a25-b614-43eb-b537-1c8faf5d2566
š¤ bug?
options go to the 3rd param
2nd is the initial value
sweet
thanks š š