isomorphic-style-loader icon indicating copy to clipboard operation
isomorphic-style-loader copied to clipboard

_getCss() method should return module ID in addition to CSS string

Open koistya opened this issue 9 years ago • 1 comments

This would allow to render multiple <style> elements on the server for each UI module and being able to reuse them on a client during the initial page load.

Ref #13

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30934003-_getcss-method-should-return-module-id-in-addition-to-css-string?utm_campaign=plugin&utm_content=tracker%2F26439769&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F26439769&utm_medium=issues&utm_source=github).

koistya avatar Feb 17 '16 07:02 koistya

I wonder if this might be better as a separate method, such as _.getCssId, rather than changing the API of _getCss.

pascalpp avatar Mar 11 '16 06:03 pascalpp