Skip to content

Leverage spritemaps for Flags #57

@xdrdak

Description

@xdrdak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions