Skip to content
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

One question :?: #1

Open
MichelDiz opened this issue Jul 27, 2017 · 6 comments
Open

One question :?: #1

MichelDiz opened this issue Jul 27, 2017 · 6 comments

Comments

@MichelDiz
Copy link

MichelDiz commented Jul 27, 2017

Hi, I'm following your project. Because I'm interested in learning about Join Monster and GraphQL.
I've come to ask you why you're adding both Schema and SQL within the same React Native project.
When will you generate the APK (or IOS), will not you have to separate the stacks?

Would not it be better to create a Node server? To feed the React Native.

Best Regards

@tslater
Copy link
Owner

tslater commented Jul 28, 2017

I actually am going to have a server. This is so that I can use relay offline. The app will have a sqlite database to use relay and graphql offline, and sync with the server.

@MichelDiz
Copy link
Author

MichelDiz commented Jul 28, 2017

Very interesting. Would this be the best current solution? To use SQL lite as cache?

offline first! xD

@MichelDiz
Copy link
Author

MichelDiz commented Jul 28, 2017

Why not use Apollo? there is a project that uses Join-Monster and Apollo.

look this https://dev-blog.apollodata.com/apollo-link-the-modular-graphql-network-stack-3b6d5fcf9244

@gardner
Copy link

gardner commented Jul 29, 2017

I just started an example as well https://github.com/gardner/react-native-apollo-client-join-monster

It uses join-monster-demo as a backend. I dockerized it in the case that you prefer that method for easy setup: https://github.com/stems/join-monster-demo/pull/7

There are a lot of moving parts and subtleties. I am still trying to work out like navigation, pagination, and debugging.

@tslater
Copy link
Owner

tslater commented Jul 29, 2017

This is to build apps that work completely offline, with complex logic. You can use graphql on the client, without the server. I am next going to do relay offline. This repo won't work until i patch an issue with running join monster in react native in join monster.

@gardner
Copy link

gardner commented Jul 30, 2017

Sweet. I'll keep an eye in this repo. I am having trouble with Apollo Client on RN as well. The queries sent by RN are different than graphiql.

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

No branches or pull requests

3 participants