Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

link component not available for native #11

Open
alidcast opened this issue Jan 11, 2019 · 0 comments
Open

link component not available for native #11

alidcast opened this issue Jan 11, 2019 · 0 comments

Comments

@alidcast
Copy link

is there a reason the Link component is only for the web build?

as much as possible, i'd like to reuse the same code for native/web, which is why I'm opting to use react-navigation rather than react-router. but this is only possible if the same components are available in both environments.

could we perhaps make it so that the Link component conditionally renders a text component rather than a a tag? or is there any other things needed to make it work with native code?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant