graphile / graphile/graphile.github.io
Vue subscriptions example
- Lingua principale
- SCSS
- Stelle
- 27
- Fork
- 126
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```js
apollo: {
$subscribe: {
tagAdded: {
query: gqlsubscription test{listen(topic: "hello"){relatedNodeId}},
// Reactive variables
variables () {
// This works just like regular queries
// and will re-subscribe with the right variables
// each time the values change
return {
type: this.type,
}
},
// Result hook
result (data) {
console.log(data)
},
},
},
```
https://discordapp.com/channels/489127045289476126/498852330754801666/560214820121739285
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.