Performance can be measured
perceivedperformance.lukedenton.devThere are loading indicators
queryKeycache.addToCache({
key: `product-${productId}`,
value: JSON.stringify(res.product)
})
const [product, setProduct] = useState(() => {
const cachedProduct = cache.getItem(`product-${productId}`);
if (cachedProduct) return cachedProduct;
return undefined;
});
Clicked around looking for loading indicators
Options:
Downsides?
effectiveType -
slow-2g, 2g, 3g, 4g
type -
wifi, cellular, ethernet, otherssaveDataWhat actions are users most likely to take?
Can we pre-fetch this data so its ready to go?
...?
What responses can we preempt?
Before: