erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12k stars 2.5k forks source link

JSS as css-loader replacement #726

Open dmitrif opened 8 years ago

dmitrif commented 8 years ago

Rolled a JSS-loader + plugin for webpack to treat JSS includes as an object literal mapping of declaration to generated classname, with a counterpart plugin to extract the generated stylesheet as a separate css bundle.

Have to clean up documentation, but can integrate into this project after.. if this matches your vision of "killing css".

Let me know!

gihrig commented 8 years ago

@dmitrif Thanks to your post, I've just looked into JSS. It looks very promising, but the proof will be using it in a project. Can you make your repo available for testing?

I didn't see any mention of JSS at https://github.com/dmitrif/react-redux-universal-hot-example

dmitrif commented 8 years ago

@gihrig Just finished rolling the libs and integrating them into an internal project here, will integrate with my branch of react-redux-universal-hot-example and add a comment here when done.

Thank you!

bdefore commented 8 years ago

@erikras has left his thoughts in this doc https://github.com/dmitrif/react-redux-universal-hot-example/blob/master/docs/InlineStyles.md

curious to see your branch @dmitrif