DEV Community

Discussion on: Start your app the right way! Featuring React, styled-system, styled components and Typescript

Collapse
 
pak11273 profile image
Isaac Pak

It's great that you have a variety of props you can use now to define your component but now your components are bloated. You are also using components in your styleguide that aren't even using styled-system (Divider, ColorCircle, GridContainer, etc). Why recreate the typography for standard html elements. Why not just use styled-component's GlobalStyles to standardized them. I think styled-components alone would be more performant without styled-system unless there's some tree shaking that can be utilized.