Skip to content

Commit

Permalink
Merge pull request #489 from ChromeGG/patch-1
Browse files Browse the repository at this point in the history
docs: Fix bad formatting of smart-subscriptions.md
  • Loading branch information
hayes authored Jul 31, 2022
2 parents 9089822 + 0883863 commit 731a570
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions website/pages/docs/plugins/smart-subscriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ smart subscription.

The basic flow of a smart subscription is:

1. Run the query the smart subscription is based on and push the initial result of that query to the
1. Run the query the smart subscription is based on and push the initial result of that query to the subscription

subscription
2. As the query is resolved, register any subscriptions defined on fields or types that where used in the query

2. As the query is resolved, register any subscriptions defined on fields or types that where used

in the query

3. When any of the subscriptions are triggered, re-execute the query and push the updated data to

the subscription.
3. When any of the subscriptions are triggered, re-execute the query and push the updated data to the subscription.

There are additional options which will allow only the sub-tree of a field/type that triggered a
fetch to re-resolved.
Expand Down

1 comment on commit 731a570

@vercel
Copy link

@vercel vercel bot commented on 731a570 Jul 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.