Skip to content

Prefix IDs to make them unique #210

@theKashey

Description

@theKashey

🚀 Feature Proposal

Some features, like filters or complex styles requires id to be used. Unfortunately default dehavior of SVGO is no compress used id or className.
This leads to hell - every first id in every new SVG transformed would be named... "a".

Solution is simple - activate not-quite-public SVGO plugin - prefixId - svg/svgo#700.
Job is done.

Motivation

We had some issues with style collision in the past. And knew how easily it could be solved.

Example

Just believe me :)

Pitch

React is about componetization and isolation. This is must have feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions