react-strict-dom icon indicating copy to clipboard operation
react-strict-dom copied to clipboard

(feature) <svg> element

Open necolas opened this issue 1 year ago • 3 comments

Describe the feature request

Support the <svg> element. This element is not currently supported on native.

necolas avatar Feb 20 '24 21:02 necolas

Related: https://www.npmjs.com/package/react-native-svg

nmn avatar Feb 21 '24 05:02 nmn

@necolas and @nmn I am using rsd for a project and I would like to get involved. Are we ok with a react-native-svg dependency because I think I could whip up the re-export of the rn svg library PR. I believe that stylex already supports svg on web but I would need to look into how rn svg handles styles.

RyanGuild avatar Jul 12 '24 14:07 RyanGuild

Hi, I'm not looking for contributions in this specific area. There is some ongoing refactoring and performance tuning of the existing code before parts of it can be reused for SVG elements. And we have to seamlessly replace an internal stop-gap for cross-platform SVG, which is also being evaluated for replacement with alternative native vector graphics, due to the high cost of rendering react-native-svg elements today.

necolas avatar Jul 12 '24 21:07 necolas