I am encountering a delay in the initial loading of my web app, even after implementing various improvements like using only critical CSS during server side rendering. Unfortunately, post-SSR, React still generates unnecessary CSS rules that are not utilized at that moment. Therefore, I am wondering if there is a way to divide the CSS and load it on demand, such as when the route changes.
Any assistance on this matter would be greatly valued. Thank you in advance!