emotion-js/emotion

ssr with namespace not working

addlistener opened this issue · 0 comments

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