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
React 15 enables all SVG attributes -- but as with all things React, they're camelCased. We do have some inline <svg>s, but some of them have been using attributes like fill-rule that have been ignored. We should change those to camelCase. This will be more complicated with generated code (Gridicons, SocialLogos). Fortunately, AFAICS this doesn't seem to break any existing functionality, so we can tackle this after the React 15 upgrade (#5116).
This will also allow us to stop relying on SVGs defined in string consts and then rendered using dangerouslySetInnerHTML. I've started a PR for this, #5164.
The text was updated successfully, but these errors were encountered:
This issue has been marked as stale because it hasn't been updated in a while. It will be closed in a week. If you would like it to remain open, can you please comment below and see what you can do to get things moving with this issue? Thanks! 🙏
React 15 enables all SVG attributes -- but as with all things React, they're
camelCased
. We do have some inline<svg>
s, but some of them have been using attributes likefill-rule
that have been ignored. We should change those to camelCase. This will be more complicated with generated code (Gridicons
,SocialLogos
). Fortunately, AFAICS this doesn't seem to break any existing functionality, so we can tackle this after the React 15 upgrade (#5116).This will also allow us to stop relying on SVGs defined in string
const
s and then rendered usingdangerouslySetInnerHTML
. I've started a PR for this, #5164.The text was updated successfully, but these errors were encountered: