Skip to content

Commit 2dac37e

Browse files
committed
Update and add changeset
1 parent 6248762 commit 2dac37e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/light-dolphins-taste.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@apollo/client": major
33
---
44

5-
`useLazyQuery` no longer supports SSR environments and will now throw if the execute method is run during render. If you need to run a query in an SSR environment, use `useQuery` instead.
5+
`useLazyQuery` no longer supports SSR environments and will now throw if the `execute` function is called in SSR. If you need to run a query in an SSR environment, use `useQuery` instead.

.changeset/soft-birds-wonder.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/client": major
3+
---
4+
5+
`useLazyQuery` will now throw if the `execute` function is called during render. Consider using `useQuery` if you need to run the query during render.

0 commit comments

Comments
 (0)