How does Remix manage many CSS files in a page? - podcast episode cover

How does Remix manage many CSS files in a page?

Sep 24, 20214 minSeason 1Ep. 14
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

That’s a follow-up question to Call Kent Podcast 09 “How to style?"

Did you mention on "Call Kent Podcast 09 - How to style?" the remix capability to get the link tags removed from the page when the route is no longer active and with that, the styles could get removed as well, helping to avoid CSS clashes.

How does Remix manage situations where the page that is active has multiple components, and those components are using different CSS files and potentially changing the same selector style (both could be changing the p tag)? Or even if the page itself is using multiple CSS files?

How does remix manage situations where it needs to handle multiple CSS files that need to be used on the page that is active and it still needs to avoid clashes?

Thanks for answering, Kent!

For the best experience, listen in Metacast app for iOS or Android