Skip to content

test server-side rendering. #269

Description

@chhsiao1981

#263 adds subscribe.getSnapshot to getServerSnapshot in useSyncExternalStore.

https://github.com/chhsiao1981/use-thunk/blob/main/src/useThunk/useThunkReducer.ts#L23

However, currently there is no test to validate this setup.

Would like create a test to validate how use-thunk will work in the SSR scenario.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions