How do I lazily load stylesheets for different pages
I have a single page application with solid router:
I have different routes loaded like this
and in
hardcore.tsx
load a stylesheet
But in another page load a different stylesheet.
But styles get mixed between pages, I think they don't get unloaded or something, how do I reset the previous pages styles, or whatever method I should use.0 Replies