Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssr with namespace not working #3238

Open
addlistener opened this issue Aug 11, 2024 · 0 comments
Open

ssr with namespace not working #3238

addlistener opened this issue Aug 11, 2024 · 0 comments

Comments

@addlistener
Copy link

addlistener commented Aug 11, 2024

Current behavior:

SSR with custom namespace not working.

To reproduce:

https://codesandbox.io/s/emotion-issue-template-forked-s4rnkz?file=/src/App.tsx

  1. follow https://emotion.sh/docs/ssr to create a custom namespace and ssr
  2. create a css function to use the custom cache
  3. the ids & css extracted is empty
image

Expected behavior:
SSR should work for custom namespace. ids & css should not be empty

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

No branches or pull requests

1 participant