Dynamic styling in Create React App without ejecting app

added by JavaScript Kicks
5/31/2018 7:20:50 AM

478 Views

styled-jsx provides full CSS support for JSX, lets use it with create-react-app boilerplate without eject. In create-react-app we have to write css into external files. But now suppose your css is dynamic & based on your JS code. For example you have to load css based on USER ID, then how can you do it ?


0 comments