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

Importing from @apollo/client force user to use react #611

Open
yaquawa opened this issue Dec 24, 2020 · 8 comments
Open

Importing from @apollo/client force user to use react #611

yaquawa opened this issue Dec 24, 2020 · 8 comments

Comments

@yaquawa
Copy link

yaquawa commented Dec 24, 2020

See the issue at here
apollographql/apollo-client#7318 (comment)

Use @apollo/client/core instead of @apollo/client.

@janpapenbrock
Copy link

Also, here's the reference to the official documentation on how to use @apollo/client without react: https://www.apollographql.com/docs/react/migrating/apollo-client-3-migration/#using-apollo-client-without-react

@yaquawa
Copy link
Author

yaquawa commented Mar 19, 2021

Please.. fix this... it won't take that much time.

@janpapenbrock
Copy link

There's also some PRs open to address this issue:

@yaquawa
Copy link
Author

yaquawa commented Mar 19, 2021

Hey @janpapenbrock thanks ! and I saw many PRs in this repo that really should be merged but all of them are ignored without a single word, I was thinking this repo is dead despite it's the aws official one...

but, to be honest, I'm not so surprised, because I've seen many of the aws official repo seems like in the state of asphyxia. All the dependencies are just too old, just want to know if there is any alternative repo for this?

@janpapenbrock
Copy link

I saw that @volkanunsal is working on migrating to aws sdk v3 in their fork https://github.com/volkanunsal/aws-mobile-appsync-sdk-js but I think that is currently also using @apollo/client imports.

@volkanunsal
Copy link

volkanunsal commented Mar 19, 2021

@janpapenbrock FYI, I had to remove a bunch of features along the way, such as offline sync and conflict resolution, because I didn't need them, and they were complicated to maintain.

@volkanunsal
Copy link

Another caveat, if you're using aws-sdk v3 as well, you will also need to rewrite auth-link.

@yaquawa
Copy link
Author

yaquawa commented Mar 20, 2021

@volkanunsal here is the PR for update to awk-sdk v3 #625 , but, ignored as usual.

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