This is not so much of an issue in production, but in development, if you update CSS files a lot, they will all just be added to the document, and the old ones will just stay there forever.
One solution would be to have some sort of reference count for what stylesheets are active and remove them when no components that use them are present in the VTree..
This is not so much of an issue in production, but in development, if you update CSS files a lot, they will all just be added to the document, and the old ones will just stay there forever.
One solution would be to have some sort of reference count for what stylesheets are active and remove them when no components that use them are present in the VTree..