isomorphic500 icon indicating copy to clipboard operation
isomorphic500 copied to clipboard

Get rid of sass using javascript styles

Open gpbl opened this issue 11 years ago • 5 comments

I'd like to remove the CSS preprocessor and go straight with javascript also for the CSS (whoo), but it seems the available modules do not fit well with my architecture.

  • react-style is on the top list, but it is not working yet with react-hot-loader.
  • RCSS does not work with react-hot-loader, plus unclear things with webpack and cache-buster. But I love the idea behind it, more then react-style.
  • jss looks also promising but is not so react oriented as react-style.

gpbl avatar Nov 27 '14 20:11 gpbl

@gpbl -- still a preprocessor, but suit-css helped me a lot here:

https://github.com/suitcss/rework-suit

Conforms to the new W3C CSS spec, can handle NPM-style @imports, and the syntax aligns well with components. Still would love to be able to just use CSS in JS though.

irvinebroque avatar Nov 28 '14 18:11 irvinebroque

Thanks @irvinebroque it is indeed interesting

now the next big thing for the weekend is a server-side flux architecture... that will be fun, i see it is the nr. 1 issue in your project as well :-)

gpbl avatar Nov 28 '14 20:11 gpbl

Would also like to see javascript styles implemented in this, though I prefer the react-styles implementation over RCSS, which seems to require more handholding.

benoneal avatar Jan 08 '15 23:01 benoneal

+1 for react-styles

gpbl avatar Jan 09 '15 08:01 gpbl

https://twitter.com/dan_abramov/status/554411131176235009 https://github.com/jsstyles/react-jss

thought I would prefer to have react-style instead.

edjafarov avatar Jan 12 '15 10:01 edjafarov