[FEAT] React Native (Universal) Support
See original GitHub issueReact native doesn’t support normal svg
elements. Instead they have to be imported from react-native-svg compatibility layer for ios, android and web. SVGR supports it by simply passing the native
flag.
Happy to contribute if it’s something you would like to support ✌️
{
"native": true,
"typescript": true,
"expandProps": "end",
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to set up react native universal links for iOS - Ekreative
A quick overview of how to set up react native universal links for iOS. With step by step instructions and code examples this...
Read more >Implementing Deep Linking in React Native apps - VentureDevs
To test your app via terminal, type in this command: xcrun simctl openurl booted vd://careers/react-native. Support Universal Links.
Read more >Deep Linking in React Native with Universal Links and URL ...
Within this file, we can configure specific URL patterns to deep link into the app — you do not need to support the...
Read more >feat: Add string support for aspectRatio by gabrieldonadel ...
Summary This updates aspectRatio to support string values and ratio formats, i.e., '16 / 9', thus aligning it with the CSS Box Sizing...
Read more >Axel Delafosse on Twitter: "What's next in React Native? Better ...
Better Web support with Next.js. @FernandoTheRojo. is building Solito: a meta-framework that helps you build universal React apps by using React Native and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As @paescuj said, the biggest question is where to put the generated files. At the moment, my gut is saying to create a separate package called
iconoir-react-native
or something similar. That has the benefit of reducing package sizes for the end user, as well as keeping a clear distinction between React JS and React Native components. However, it will come at the cost of doubling work for updating the packages, as well as essentially copy-pasting the set up we already have. I’ll try and have a play around with it if I have some time tomorrow evening and get back to you. Any other suggestions on what we could do are more than welcome 😃Totally agree to have a separate package called
iconoir-react-native
. From the other side, I also understand and agree that doubling the work to update the package is not ideal. Keep us updated! 🙏🏻