DEV Community

Discussion on: Use styled-jsx in create-react-app without ejection

Collapse
 
liranh85 profile image
Liran Harary

Looked promising, but be warned: react-app-rewired doesn't support create-react-app v2, and they have no plan to do so.

I tried one of the alternatives - craco (Create React App Configuration Override) - but unfortunately it's broken at the moment following a change in how create-react-app organises its webpack configs: github.com/sharegate/craco/issues/61

So I'm sticking to Aphrodite for the moment for CSS-in-JS, as it doesn't require any special Babel configuration.