Open damiangreen opened 5 years ago
duplicated with #155
unfortunately, this package looks like abandoned :( I used this to be sure that everything uses this version react in package.json:
"resolutions": { "react": "17.0.1", "react-dom": "17.0.1" },
Stack trace:
I suspect this line https://github.com/kriasoft/isomorphic-style-loader/blob/a990d947e79b47251f1af827adc81918494413fd/src/useStyles.js#L29 is breaking the rule of hooks because it is running an effect conditionally