DEV Community

Discussion on: Extend usage of styled-components in React

 
hrahimi270 profile image
Hossein Rahimi

That's another point (:
It will increase the React's run-time.
Because it will be added as inline-styles in HTML tag.
But if you pass this style props into the body of styled-component, it will be used in build-time.