You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Flags has the same implementation/behaviour as Icon, in which loading the base component <Flag> will cause all svgs to be loaded as a chunk. This is normal behaviour, however it's somewhat problematic in this use case since when we're using flags, we usually want all of them loaded at the same time.
What we should be doing is instead of loading all SVGs for Flags, would be to leverage an svg spritemap instead.
The text was updated successfully, but these errors were encountered:
Currently, Flags has the same implementation/behaviour as Icon, in which loading the base component
<Flag>
will cause all svgs to be loaded as a chunk. This is normal behaviour, however it's somewhat problematic in this use case since when we're using flags, we usually want all of them loaded at the same time.What we should be doing is instead of loading all SVGs for Flags, would be to leverage an svg spritemap instead.
The text was updated successfully, but these errors were encountered: