Skip to content
qt

E-Commerce

Multi-User View

The YouTube demo. Admin changes a price on the left — the customer's view on the right updates instantly with a green glow. Both panels share the same tag, so one server mutation fans out to both.

What to watch for

  • Change any price in the Admin panel on the left
  • Watch the Customer view on the right flash green and update — no page refresh
  • Both panels are tagged with products.list — one invalidation hits both
  • This is how real-time price sync works without WebSockets
View Source

Admin Panel

updatePriceServerFn()

invalidateTags()

products.list

Admin Query refetches

Customer Query refetches

green glow appears

Admin

Price Control

tag: products.list

Loading...

Changes here propagate to the customer view via tag invalidation — no polling, no manual refresh.

Customer

Shop

tag: products.list

Loading...