Hacker News new | ask | show | jobs
by Cthulhu_ 1789 days ago
As others commented, inline CSS has downsides. But there are libraries out there that allow you to write a block of CSS alongside your component that are neatly packaged into a CSS file, like Styled Components (https://styled-components.com/).