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
Probably jsx-dom is the best transition we can do right now, but also it's probably not working with v19.
So I think the easiest way forward would be to:
import the raw SVG
have webpack turn it into JSX-compatible imports ("svgr")
This should be reasonably easy to implement and likely the most stable and lightweight solution (octicons-react has more code than we need, at this point)
Activity
fregante commentedon Sep 4, 2023
Extracted from #6000 (comment)
kidonng commentedon Nov 30, 2023
This issue is made super visible by
visit-tag(due to lacking of https://github.com//primer/octicons/pull/858)fregante commentedon Nov 30, 2023
Yeah let's restore SVGR soon so we'll skip all the React drama. I think the npm package still includes the SVG:
https://github.com/fregante/github-issue-link-status/blob/main/source/icons.js
(That file is handled by parcel so the syntax isn't the same)