impress-2020/src/app
Matchu bf21716db0 simplify PetAppearance client-side caching
Previously, we would load all `petAppearances` in `PosePicker`, and use cache keys to instantly find it again as a single `petAppearance` in `OutfitPreview` after switching poses.

In this change, we instead have `PosePicker` explicitly load all 6 poses as separate `petAppearance` queries. This simplifies cache sharing between the two components' queries: Apollo can do it automatically, because they were queried the same way in the first place.

I'm doing this in preparation for changing the `id` field of `PetAppearance`, to become `petStateId`. This will help me build pet appearance support tools, by giving the appearances stable identifiers that won't be affected by editing which pose an appearance is!
2020-08-27 21:26:24 -07:00
..
cached-data Build cached zones, stop querying on server 2020-08-19 17:50:05 -07:00
components fix bug where image load errors would keep loading 2020-08-19 19:11:49 -07:00
WardrobePage simplify PetAppearance client-side caching 2020-08-27 21:26:24 -07:00
apolloClient.js simplify PetAppearance client-side caching 2020-08-27 21:26:24 -07:00
App.js remove stray console.log 2020-08-19 19:12:56 -07:00
HomePage.js bug fix for light/dark mode toggle 2020-08-14 18:21:40 -07:00
util.js dark mode first draft! 2020-08-12 00:37:31 -07:00