FortAwesome / react-native-fontawesome

Official React Native component for Font Awesome 5
MIT License
328 stars 53 forks source link

[Question] Why does this project use react-native-svg instead of using font via Text component? #149

Open sesm opened 2 years ago

sesm commented 2 years ago

Font Awesome icons are used in web via importing a font. In theory, the same can done in react-native (see https://github.com/oblador/react-native-vector-icons).

But this implementation uses SVG via react-native-svg to render the icons from the very start.

I'm sure there are reasons to do this. Are there some usecases where SVG gives more control/flexebility/etc? Or maybe there are some issues with font rendering on iOS/Android? Could you please share this with the community?

bastienJanon commented 1 year ago

react-native-svg causes bug on my react-native-web project