apollo
apollo copied to clipboard
Example uses VueApollo.collect() method which no longer exists.
./src/main.js
const ensureReady = apolloProvider.collect()
...
ensureReady().then(results => {
console.log(results.length, 'queries ready')
})
This causes an error:
Uncaught TypeError: apolloProvider.collect is not a function
Same error
same error
same error
same error
@enginkartal Which example?
so what was the fix for this? or the cause?
This was an old experimental API for SSR support.
Thank you for the quick response. That's all I needed. All working now 😄