tldraw/packages
Steve Ruiz 4d32a38cf8
put getCurrentPageId into a computed (#3378)
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
2024-04-05 16:02:11 +00:00
..
assets ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
editor put getCurrentPageId into a computed (#3378) 2024-04-05 16:02:11 +00:00
namespaced-tldraw use native structuredClone on node, cloudflare workers, and in tests (#3166) 2024-03-18 17:16:09 +00:00
state Add white migration (#3334) 2024-04-04 18:16:17 +00:00
store Fix typo. (#3306) 2024-03-29 12:32:25 +00:00
tldraw Display none for culled shapes (#3291) 2024-04-05 13:23:02 +00:00
tlschema Display none for culled shapes (#3291) 2024-04-05 13:23:02 +00:00
tlsync Revert "squish sync data events before sending them out" (#3331) 2024-04-03 10:31:28 +01:00
utils Input buffering (#3223) 2024-04-02 14:29:14 +00:00
validate React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00