You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to dynamic import "styled-jss" and able to do that so styled-jss become a chunk and only loaded when one of my styled components loaded. For simple case, it works (see sandbox link below)
Expected behavior:
+Component selector should work.
+Style should cached somehow.
I want to dynamic import "styled-jss" and able to do that so styled-jss become a chunk and only loaded when one of my styled components loaded. For simple case, it works (see sandbox link below)
Expected behavior:
+Component selector should work.
+Style should cached somehow.
The bug:
+Component selector doens't work:
+Similar classes generated multiple times:
Codesandbox:
https://codesandbox.io/s/styled-jss-playground-9f5j0?file=/index.js
Versions (please complete the following information):__
Maybe the way i wrapped components is incorrect, if so, could you point me the way so i can fix it.
The text was updated successfully, but these errors were encountered: