简体   繁体   English

中继现代反应本机集成的资源

[英]Resources for Relay Modern-React Native Integration

I'm just curious if there exist any good resources that show how to use relay modern with react native. 我只是想知道是否有任何好的资源可以展示如何将React Modern与React Native结合使用。 I've found a few snippets here and there with react, but they aren't entirely congruent with react native set ups. 我在这里和那里发现了一些带有react的代码片段,但是它们与react本机设置并不完全一致。 Apollo has great docs, but seems to have a very different api. 阿波罗(Apollo)具有出色的文档,但似乎具有完全不同的api。

I've since found a GitHub repo which you may be interested in: 此后,我找到了您可能感兴趣的GitHub存储库:

https://github.com/sibelius/ReactNavigationRelayModern https://github.com/sibelius/ReactNavigationRelayModern

It's using: React Native + React-Navigation + Relay Modern 它正在使用:React Native + React-Navigation + Relay Modern

You can find many useful repos like this one: https://github.com/sibelius/ReactNavigationRelayModern/ 您可以找到许多像这样的有用存储库: https : //github.com/sibelius/ReactNavigationRelayModern/

It got me started and I created my own repo. 它使我开始工作,并创建了自己的存储库。 You can try this if you want to run local GraphQL server: https://github.com/jalalat/Realy-GraphQL-RN-MongoDB 如果要运行本地GraphQL服务器,可以尝试以下方法: https : //github.com/jalalat/Realy-GraphQL-RN-MongoDB

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM