logaretm / villus

🏎 A tiny and fast GraphQL client for Vue.js
https://villus.dev
MIT License
790 stars 31 forks source link

Restoring subscriptions #212

Open mheberlein opened 2 months ago

mheberlein commented 2 months ago

Hey there, happy Villus user here :) using subscriptions via websockets. I'm wondering how Villus handles situations after a websockets connection has been lost and reconnected - will all subscriptions be renewed or dropped? Are there any best practices or known issues to keep in mind for web apps that might fall asleep in a browser tab, should they just do a hard reload?