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
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.
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal
Some features, like filters or complex styles requires
id
to be used. Unfortunately default dehavior ofSVGO
is no compress usedid
orclassName
.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.
The text was updated successfully, but these errors were encountered: