Skip to content

denis-manokhin/apollo-refetch-issue-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is example for apollo-client issue

If we use watchQuery with network-only fetch policy, the http request will be duplicated.

Example logs
Server log:
---
INFO | MUTATION handler called
INFO | QUERY handler called
INFO | QUERY handler called
---
Client log:
---
MUTATION | HTTP fetch called. Operation -> CreateEntity
QUERY | HTTP fetch called. Operation -> GetEntities
QUERY | HTTP fetch called. Operation -> GetEntities
---

Start guide

  • npm install
  • npm run start:server
  • npm run start:client

Tested on nodejs v14.15.4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published