Closed freeseamew closed 3 years ago
subscribeToMore
is re-exported as part of svelte-apollo query
. I haven't used it before, but you can do something like:
<script>
import { query } from 'svelte-apollo';
import { GET_BOOKS } from './data'
const books = query(GET_BOOKS)
// books.subscribeToMore is available
</script>
Is there a way to use the current subscribeToMore?