Closed
Description
If you can trust that the server rendered a component correctly, then I think there's a decent bundle size optimization by removing the creation code for static components.
For example in one of my codebases I put several SVGs as components that are completely static and don't use any data properties to update them. So with server rendering, in theory we can completely remove the creation code for these SVGs.
Another similar smaller optimization could be used for smaller pieces of a component, such as if we know a element doesn't change (like a title or something) then we can remove that piece of the element creation.
Obviously these types of optimizations aren't simple, but they're probably the biggest change for making smaller bundles.