4d32a38cf8
This PR makes the `getCurrentPageId` method use a computed. Previously, anything that referenced the current page id would pick up any change to instance state. This will help a bunch of interactions like brushing that would update the instance state on every frame. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `improvement` — Improving existing features |
||
---|---|---|
.. | ||
assets | ||
editor | ||
namespaced-tldraw | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
tlsync | ||
utils | ||
validate |