impress-2020/src/app
Matchu e5551a6847 Fix performance regression in SpeciesColorPicker
Oops, my cute API idea for `speciesPickerProps` breaks `React.memo`, of course!

We could fix this by having the caller memoize the `speciesPickerProps` object, but that's too unusual and error-prone. We could also fix this by writing a custom function for `React.memo` to determine whether props match, but that seems like overkill when there's only one actual prop we're using here in practice.

So yeah, I've updated `SpeciesColorPicker` to just accept `speciesTestId` and `colorTestId` props instead!

Note that actually this component _is_ still re-rendering too often, because of a Chakra bug I just discovered and reported! So this change won't immediately improve performance, but it should stop re-rendering too often once we _also_ upgrade Chakra after this bug is fixed. https://github.com/chakra-ui/chakra-ui/issues/4080
2021-05-24 17:50:31 -07:00
..
cached-data Build cached zones, stop querying on server 2020-08-19 17:50:05 -07:00
components Fix performance regression in SpeciesColorPicker 2021-05-24 17:50:31 -07:00
images Add general error message when page crashes 2021-05-05 00:09:09 -07:00
WardrobePage Fix performance regression in SpeciesColorPicker 2021-05-24 17:50:31 -07:00
apolloClient.js Create Cypress command to log in 2021-04-19 02:22:45 -07:00
App.js Add /support/petAppearances page 2021-04-23 11:31:25 -07:00
ConversionPage.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
GlobalFooter.js Add Twitter button to footer 2021-03-13 03:14:35 -08:00
GlobalHeader.js Move "Log out" button into the nav menu 2021-01-18 13:51:52 -08:00
HomePage.js Add PB badge to items in search / homepage 2021-05-13 16:24:24 -07:00
ItemPage.js Waka item page UI! 2021-04-07 16:48:41 -07:00
ItemPageDrawer.js update chakra imports 2020-12-25 09:08:33 -08:00
ItemPageLayout.js Remove unused import 2021-04-07 22:12:03 -07:00
ItemSearchPage.js extract PaginationToolbar from ItemSearchPage 2021-05-21 00:50:55 -07:00
ItemTradesPage.js Waka item page UI! 2021-04-07 16:48:41 -07:00
ModelingPage.js Separate modeling queries into public vs user data 2021-04-23 12:10:16 -07:00
PageLayout.js Add general error message for wardrobe crashes 2021-05-05 00:22:28 -07:00
PrivacyPolicyPage.js Privacy policy copy tweak 2021-01-18 06:44:07 -08:00
SupportPetAppearancesPage.js Add total count to /support/petAppearances 2021-04-23 15:37:52 -07:00
UserItemsPage.js Can edit closet list text, incl as Support 2021-03-23 17:48:11 -07:00
UserOutfitsPage.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
util.js Add general error message for wardrobe crashes 2021-05-05 00:22:28 -07:00