Skip to content

0.1.18

Choose a tag to compare

@github-actions github-actions released this 17 Aug 12:48
· 24 commits to main since this release

Fixes

  • Server-rendering a component that reads room state no longer crashes with Missing getServerSnapshot, which is required for server-rendered content. useRoomState, useColyseusState and the createRoomContext / createLobbyContext hooks now render on the server as if no room were connected — rooms and decoder state are client-side objects, never serialized for hydration — and pick up the live room right after hydration. (#12 by @under-undefined)