DEV Community

Discussion on: Angular: Using custom made SVG icons through Angular Material

 
elasticrash profile image
Stefanos Kouroupis

I don't think there is match of an impact since the only thing that addSvgIcon does is add an entry on a Map Object.

github.com/angular/components/blob...

You can always create a method that registers icons on demand. Personally, I don't think you will gain much by doing that, apart from over complicating your solution.