I think with the right structure for either approach can minimize debugging issues. I think where styled-components gets an edge is that because it's scoped, Ideally, you would only need to be concerned with it residing in the component's directory.
I typically create a style.js file where I define and export all my styles for my component to import
I hope you enjoyed the read!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.