impress-2020/src/app/WardrobePage
Matchu e5ce4a4a42 improve perf on item add/remove
We did this a while back too, but I guess something changed in Apollo: I guess it used to return identical item objects from the cache on its own, and now it returns brand new item objects. So we gotta do the object caching hacks ourselves!

This speeds up add/remove item state updates from 500ms to 100ms on my Mac, because we stop re-rendering all the Item components and their complex Chakra children.

This is especially worth doing now, because animations make long updates much more noticeable! (It interrupts the animation 😅)
2020-09-24 07:09:08 -07:00
..
support embed item page in wardrobe page drawer 2020-09-12 19:29:20 -07:00
index.js only show play/pause when there are animations 2020-09-24 06:13:27 -07:00
Item.js improve perf on item add/remove 2020-09-24 07:09:08 -07:00
ItemsAndSearchPanels.js refactor to use new query object in SearchPanel 2020-09-01 19:53:38 -07:00
ItemsPanel.js improve perf on item add/remove 2020-09-24 07:09:08 -07:00
OutfitControls.js only show play/pause when there are animations 2020-09-24 06:13:27 -07:00
PosePicker.js fix typo in PosePicker 2020-08-31 23:08:03 -07:00
SearchPanel.js add own/want badges to items in wardrobe 2020-09-12 20:02:56 -07:00
SearchToolbar.js pretty UI for zone search suggestions 2020-09-01 19:43:25 -07:00
useOutfitState.js improve perf on item add/remove 2020-09-24 07:09:08 -07:00
WardrobeDevHacks.js add zone restrict hack tools 2020-08-28 00:12:41 -07:00
WardrobePageLayout.js more realistic loading state into WardrobePage 2020-09-10 02:54:22 -07:00