Tldraw/apps/examples/src
Steve Ruiz 0dc0587bea
[feature] Easier store persistence API + persistence example (#1480)
This PR adds `getSnapshot` and `loadSnapshot` to the `Store`, sanding
down a rough corner that existed when persisting and loading data.
Avoids learning about stores vs schemas vs migrations until a little
later.

### Change Type

- [x] `minor` — New Feature

### Test Plan

- [x] Unit Tests

### Release Notes

- [tlstore] adds `getSnapshot` and `loadSnapshot`
2023-05-30 15:22:49 +00:00
..
1-basic transfer-out: transfer out 2023-04-25 12:01:25 +01:00
2-api remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
3-custom-config [refactor] Remove `TLShapeDef`, `getShapeUtilByType`. (#1432) 2023-05-23 12:32:42 +00:00
4-custom-ui [refactor] restore createTLSchema (#1444) 2023-05-24 10:48:31 +00:00
5-exploded [refactor] update record names (#1473) 2023-05-26 13:37:59 +00:00
6-scroll remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
7-multiple transfer-out: transfer out 2023-04-25 12:01:25 +01:00
8-error-boundaries [refactor] Remove `TLShapeDef`, `getShapeUtilByType`. (#1432) 2023-05-23 12:32:42 +00:00
9-hide-ui remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
10-custom-components remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
11-user-presence [refactor] update record names (#1473) 2023-05-26 13:37:59 +00:00
12-ui-events [improvement] rename onEvent to onUiEvent (#1358) 2023-05-12 09:05:56 +00:00
13-store [improvement] rename onEvent to onUiEvent (#1358) 2023-05-12 09:05:56 +00:00
14-persistence [feature] Easier store persistence API + persistence example (#1480) 2023-05-30 15:22:49 +00:00
end-to-end Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
icons New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
index.html New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
index.tsx [feature] Easier store persistence API + persistence example (#1480) 2023-05-30 15:22:49 +00:00
styles.css New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00