Matchu
544a158f66
Ahhh right, a new `initialCacheState` value comes in on every navigation, so if our memoized Apollo client depends on that value, then it's gonna keep getting reset, and thereby dumping everything out of its cache. Rude. This solution is clearly incomplete, the ideal would be to merge the SSR'd data into the cache each time. But it should be fine in practice I think, we already have good coverage of preloading stuff via GraphQL anyway! |
||
---|---|---|
.. | ||
api | ||
internal | ||
items | ||
outfits | ||
support | ||
user/[userId]/lists | ||
_app.tsx | ||
_document.tsx | ||
conversion.tsx | ||
index.tsx | ||
modeling.tsx | ||
privacy.tsx | ||
your-outfits.tsx |