@mocanvas/store · interface

CreateComputedCacheOptions

interface CreateComputedCacheOptions<Result>

Options for createComputedCache.


Properties · 1

isEqual?: ((a: Result, b: Result) => boolean) | undefined

Treat two derived values as the same, so dependents are not woken when the derivation recomputes to an equivalent result.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.