Skip to content

Commit

Permalink
fix erroneous information
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Mar 15, 2024
1 parent 52bc7be commit 1b7f3d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vike-react-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ Using `withFallback()`, you can define a loading and/or an error fallback compne
- If there is an error during loading or rendering the main component, the `Error` component is rendered instead.

> [!NOTE]
> Upon SSR, the main component is directly rendered to HTML (without using `Loading`) and the main component is merely phydrated and the data is re-used (instead of fetching the data twice).
> The `Loading` component is used only on the client-side (e.g. upon client-side navigation).
> If you use SSR, the main component is rendered to HTML, and merely hydrated on the client-side: the data is re-used (instead of being fetched a second time).

```tsx
Expand Down

0 comments on commit 1b7f3d7

Please sign in to comment.