nathanmarks / jss-theme-reactor

NOT MAINTAINED Powerful theming layer for use with the jss CSS in JS library
MIT License
64 stars 6 forks source link

Pick up style nodes properly when stylemanager is initialized #18

Closed nathanmarks closed 7 years ago

nathanmarks commented 7 years ago

This is to fix both SSR and some HMR issues.

It does this by detecting existing style nodes on initialization to use. To better identify, the theme is now being hashed and added to the sheet meta value.