I've followed the following example: https://github.com/mui-org/material-ui/tree/master/examples/remix-with-typescript to set up material-ui with SSR on Remix, and I've noticed that after hydration, I get duplicated styles:
So I've been thinking if it would be beneficial to delete the server rendered styles after hydration? I came up with a simple solution of adding an attribute to the server rendered styles and then deleting them either in client.entry.tsx, or in a useEnhancedEffect in the root component, is there a preference, or should I not worry about the duplicated styles?

