Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I favour this solution over styled components because with styled components you cannot reuse CSS classes across your application's context. They are just as good as inline styles and sorry but CSS is not broken and it is actually quite useful! I would actually have a traditional stylesheet that is not tightly coupled to any component Commented Mar 5, 2020 at 5:15
  • 1
    Well, I was following a youtube tutorial. There the guy used it and it was working perfectly fine. Commented Mar 5, 2020 at 5:24