The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Recompose: Override Styles & Elements Types in React

Recompose: Override Styles & Elements Types in React

5:54
When we move from CSS to defining styles inside components we lose the ability to override styles with an external style sheet. We also lose the ability add the same class to different types of elements to style them consistently. Recompose allows us to regain the ability of override styles and to apply the same styles to different types of elements.
Watch this lesson now
Avatar
egghead.io

When we move from CSS to defining styles inside components we lose the ability to override styles with an external style sheet. We also lose the ability add the same class to different types of elements to style them consistently. Recompose allows us to regain the ability of override styles and to apply the same styles to different types of elements.

Avatar
Robert Kraig

It seems like this could turn into a dangerous workflow. Where you share so much stuff from one component that everything eventually becomes brittle based on only a few different components. Change the primary one break everything. It feels like it mostly just helps you bring the kitchen sink with your components.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?