Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 74d895c

Browse files
authoredJul 13, 2022
docs: fix typo in ssr.md (#3748)
whereever -> wherever
1 parent 8a7f8d9 commit 74d895c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/guides/ssr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ As demonstrated, it's fine to prefetch some queries and let others fetch on the
111111

112112
There's a catch if you're using [Next.js' rewrites feature](https://nextjs.org/docs/api-reference/next.config.js/rewrites) together with [Automatic Static Optimization](https://nextjs.org/docs/advanced-features/automatic-static-optimization) or `getStaticProps`: It will cause a second hydration by React Query. That's because [Next.js needs to ensure that they parse the rewrites](https://nextjs.org/docs/api-reference/next.config.js/rewrites#rewrite-parameters) on the client and collect any params after hydration so that they can be provided in `router.query`.
113113

114-
The result is missing referential equality for all the hydration data, which for example triggers whereever your data is used as props of components or in the dependency array of `useEffect`s/`useMemo`s.
114+
The result is missing referential equality for all the hydration data, which for example triggers wherever your data is used as props of components or in the dependency array of `useEffect`s/`useMemo`s.
115115

116116
## Using Other Frameworks or Custom SSR Frameworks
117117

0 commit comments

Comments
 (0)
Please sign in to comment.