Reactive Search

createQuery with reactive keys; the code example shows how to surface pending in the UI.

  • Apple AirPods Max Silver $549.99
  • Apple iPhone Charger $19.99
  • Apple MagSafe Battery Pack $99.99
  • Beats Flex Wireless Earphones $49.99
  • iPhone 12 Silicone Case with MagSafe Plum $29.99
  • Selfie Lamp with iPhone $14.99

Cache + Stale Time

Switch tabs. Cached categories load instantly within staleTime.

  • iPhone 5s $199.99
  • iPhone 6 $299.99
  • iPhone 13 Pro $1099.99
  • iPhone X $899.99
  • Oppo A57 $249.99

Prefetch on Hover

fetchQuery warms cache on hover. Click loads instantly.

Emily Johnson emily.johnson@x.dummyjson.com ยท 29 years old

Hover a tab first, then click. Compare with clicking without hovering.