-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with react-native? #30
Comments
Hey @arximughal @addyosmani , I think quicklink can't work with React native/React projects by default. But we can use this anyway by creating a React native/React component which implements with quicklink. So, we can use like so: <Quicklink quicklink={options}>
<Comp1 />
...
<CompN />
</Quicklink> As for React native, I suppose the philosophy is the same. But the key point is how to collect link urls. Quicklink uses |
@HOUCe This sounds really great. I have an app in react-native which uses a lot of images. Fortunately, I get all the URLs for the images before starting a quiz so this component can really really help in that matter as I won't have to filter URLs. Thanks for the component, I'll definitely check it out 🙂 |
Thanks for creating https://www.npmjs.com/package/react-quicklink-component, @HOUCe. This is neat. Outside of leveraging I'm going to close up this issue and suggest folks use the above component for RN 👍 |
Would this work by default with react-native projects? Or any idea how to make it work in react-native?
The text was updated successfully, but these errors were encountered: