Replies: 1 comment 7 replies
-
One issue I have with the react sdk is that I need to reactively join and leave a room. The RoomProvider context provider requires an id and autojoins it, which means that if at the top of my component tree, for branches I don't want to connect to a room, I don't render the RoomProvider...however, then child components using hooks like useOthers error out. I would want them to return null instead if not connected. Any ideas on this pattern when the use case is multiple rooms? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a feedback thread for when you run into problems with converting your app to the recommended Liveblocks config setup when upgrading to 0.17. Please tell us if anything is unclear, and we're happy to help! 🙏
Beta Was this translation helpful? Give feedback.
All reactions