Skip to content

Commit

Permalink
docs: remove non-implemented
Browse files Browse the repository at this point in the history
Close #1504
  • Loading branch information
posva committed Mar 22, 2024
1 parent 1a942ec commit 687ce09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/guide/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ await usePendingPromises()
</script>
```

<!--
TODO: implement
## Exclude from hydration
You can exclude data from hydration by passing `false` to the `ssrKey` option. This is useful when there is no point in waiting for the data to be fetched on the server, e.g. when the data is not being rendered on the server.
Expand All @@ -167,7 +170,9 @@ useDatabaseList(..., { ssrKey: false })
// etc
```
This only works if you avoid rendering on server these documents or collections. **If still render them on server, you will get a hydration error on client**.
This only works if you avoid rendering on server these documents or collections. **If you still render them on the server, you will get a hydration error on client**.
-->

<!-- TODO: I wonder if we could attach effect scopes to applications so `onServerPrefetch()` is still awaited when attached -->

Expand Down

0 comments on commit 687ce09

Please sign in to comment.