question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEAT] React Native (Universal) Support

See original GitHub issue

React 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:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
PianoManDanDancommented, Jun 7, 2021

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 😃

1reaction
lucaburgiocommented, Jun 8, 2021

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! 🙏🏻

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found