kriasoft / isomorphic-style-loader

CSS style loader for Webpack that is optimized for isomorphic (universal) web apps.
https://reactstarter.com
MIT License
1.27k stars 143 forks source link

_insertCss method produces duplications #74

Open marekszala opened 7 years ago

marekszala commented 7 years ago

Hi, I have a problem with Isomorphic-style-loader because it injects the same css module multiple times. When I call _instertCSs in the following scenario: _insertCSS([id1,style1], [id2, style2]) _insertCss([id2, style2], [id1, style1])

I would expect heaving only 2 scripts tags in HEAD section after rendering. In my situation I end up heaving 4 Githubissues.

  • Githubissues is a development platform for aggregating issues.