
The name of the stylesheet needs to be unique. I think that we should add a warning when it's not respected. Also, we need to upgrade the jss dependency. That's likely fixed on the latest version. That might even enable multiple stylesheets with the same name.
Latest JSS switched back to the counters. To make it work server-side, we need to take an example from the https://github.com/cssinjs/react-jss/blob/next/src/JssProvider.js
The logic is the following: Provider that wraps the entire application provides the class names generator and resets the counter for each request.
@nathanmarks we need to talk about it and updating theme-reactor.
The styleSheet names are now optional. We will use them over the display name when provided in development to help to debug the class names injected into the page.
Most helpful comment
The name of the stylesheet needs to be unique. I think that we should add a warning when it's not respected. Also, we need to upgrade the jss dependency. That's likely fixed on the latest version. That might even enable multiple stylesheets with the same name.