News for hackers. Stuff that matters.
Re:Lessons learned as a React contractor by netghost on Thursday January 05, 2017 @11:40PM (#13334006)
Is there any sane way to use Sass, Less, or PostCSS without ejecting though? Not having variables available in your CSS seems pretty untenable for anything that has more than a handful of styled components.
Re:Lessons learned as a React contractor by hoodoof on Thursday January 05, 2017 @11:56PM (#13334079)
Dunno really. I've never used any of the technologies mentioned and things seem to have held together OK.
Re:Lessons learned as a React contractor by insin on Friday January 06, 2017 @08:38AM (#13336100)
You can use this fork of react-scripts which adds configuration for enabling new options, including use of style preprocessors:

https://github.com/kitze/create-react-app

Re:Lessons learned as a React contractor by hoodoof on Friday January 06, 2017 @10:22PM (#13342222)
The irony of forking create-react-app to add configuration.
Re:Lessons learned as a React contractor by adambowles on Friday January 06, 2017 @04:27AM (#13334941)
This was the killer for create-react-app for me. I resentfully ejected so I could use SASS.
Re:Lessons learned as a React contractor by davidkpiano on Friday January 06, 2017 @08:35AM (#13336078)
I compile the Sass files separately (using Node-Sass) and require the generated CSS file.
Re:Lessons learned as a React contractor by eyko on Friday January 06, 2017 @01:25AM (#13334378)
Not at the moment.