Skip to content

Commit 47ef529

Browse files
authored
feat(docs): add a migration guide (#357)
1 parent 88d514c commit 47ef529

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/react/guides/MIGRATION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Migration guide
2+
3+
## Migrating to @sanity/sdk-react@0.0.0-rc.1
4+
5+
### `results` -> `data`
6+
7+
- rename `results` to `data` for `useProjection` hook
8+
- rename `result` to `data` for `usePreview` hook

0 commit comments

Comments
 (0)