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

use the React Component apollo client in fetch.ts #21

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Nov 4, 2022

Previously the frontend used two methods to access backend GraphQL APIs:

  1. through apollo client as a React context
  2. through manually calling fetch() with server URL

Now we removed the second kind of API calls, and consistently use the apollo client everywhere.

@lihebi lihebi merged commit 192cc2c into main Nov 4, 2022
@lihebi lihebi deleted the fetch-ts-use-apollo-client branch November 9, 2022 23:44
lihebi added a commit to lihebi/codepod that referenced this pull request Dec 25, 2023
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

Successfully merging this pull request may close these issues.

1 participant