Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 15b59ff

Browse files
authored
Merge pull request #82 from ably-labs/readme-ssr-note
docs: document requirement for client side rendering
2 parents f507c3e + 8693955 commit 15b59ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ const { channel } = useChannel("your-channel-name", (message) => {
110110

111111
Every time a message is sent to `your-channel-name` it'll be logged to the console. You can do whatever you need to with those messages.
112112

113+
Our react hooks are designed to run on the client-side, so if you are using server-side rendering, make sure that your components which use Ably react hooks are only rendered on the client side.
114+
113115
---
114116

115117
### useChannel

0 commit comments

Comments
 (0)