4 ms·
Super cool to see other people using this pattern! People here are bringing up great points about the implications of this pattern. Our motivation to use this p
by gjjones 9y ago
Super cool to see other people using this pattern! People here are bringing up great points about the implications of this pattern. Our motivation to use this pattern was when replacing grunticon generating multiple colors of our SVGs during a build step. The grunticon step added a 1min+ to the feedback loop on seeing CSS changes(could have fixed this directly, lots of missed details in this story).
This simple script allowed us to quickly move past the problem during a rewrite to React, and solve more correctly when that system was a priority.
https://gitlab.com/gjjones/svg-to-react https://gitlab.com/gjjones/svg-to-react