orangy
derivedStateOf
considered “changed” when any of its tracked states change, even if yielded value is the same?shikasd
09/03/2022, 1:32 PMorangy
drawWithCache
. Sorry for not mentioning it. I have pretty complex drawing (kinda map) with zooming, panning, hovering, clicking – all these sorts of things. So there is a long chain of derived states, mostly starting from mouse position, like hoveredArea but they rarely actually change the value. E.g. if mouse is moving inside the same hovered area nothing changes that is being read in the draw code, but redraws happen.shikasd
09/03/2022, 3:26 PMshikasd
09/03/2022, 3:27 PMorangy
shikasd
09/03/2022, 7:51 PMorangy
shikasd
09/03/2022, 8:45 PMorangy
Igor Demin
09/04/2022, 1:31 AMorangy
orangy
Igor Demin
10/13/2022, 5:50 PM