impress/src/app
Matchu 96d6d42120 Use persisted queries in dev, bc Next.js support
We had previously configured the client to not bother to try a GET request for GraphQL queries, and just jump straight to POST instead, because the `vercel dev` server for create-react-app reloaded the backend code for every request anyway, which doubled the dev response time.

The Next.js server is more efficient than this, and keeps some memory, so GET requests work similarly in dev as on prod now! (i.e. it fails the first time, but then succeeds on the second)

In this change, we remove the code to skip `createPersistedQueryLink` in development, and instead always call it. We simplify the code accordingly, too.
2021-11-23 12:35:20 -08:00
..
cached-data Build cached zones, stop querying on server 2020-08-19 17:50:05 -07:00
components [WIP] Add lint exceptions for <img> tags 2021-11-02 00:55:21 -07:00
images [WIP] Fix app images in Next.js 2021-11-02 00:50:39 -07:00
ItemPage [WIP] Add lint exceptions for <img> tags 2021-11-02 00:55:21 -07:00
WardrobePage [WIP] Add lint exceptions for <img> tags 2021-11-02 00:55:21 -07:00
apolloClient.js Use persisted queries in dev, bc Next.js support 2021-11-23 12:35:20 -08:00
App.js Add search toolbar to item page 2021-09-30 20:04:50 -07:00
ConversionPage.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
GlobalFooter.js Rename UserItemsPage 2021-06-19 09:24:05 -07:00
GlobalHeader.js [WIP] Fix app images in Next.js 2021-11-02 00:50:39 -07:00
HomePage.js [WIP] Fix app images in Next.js 2021-11-02 00:50:39 -07:00
InternalAssetImagePage.js Use /api/assetImage for all image sizes 2021-08-19 17:56:09 -07:00
ItemPage.js Remove incorrect flexAlign prop 2021-11-01 16:09:56 -07:00
ItemPageDrawer.js update chakra imports 2020-12-25 09:08:33 -08:00
ItemPageLayout.js Waka deprecation UI, to expire on Aug 21 2021-08-07 21:32:22 -07:00
ItemSearchPage.js Add search toolbar to item page 2021-09-30 20:04:50 -07:00
ItemTradesPage.js Oops, fix Lists page links! 2021-06-15 22:46:43 -07:00
ModelingPage.js [WIP] Fix eslint for Next.js 2021-11-01 22:07:46 -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 Sort /support/petAppearances from newest to oldest 2021-10-01 04:22:53 -07:00
UserItemListPage.js [WIP] Fix eslint for Next.js 2021-11-01 22:07:46 -07:00
UserItemListsIndexPage.js Fix email search redirect 2021-10-21 11:56:55 -07:00
UserOutfitsPage.js Preload next/prev user outfits page 2021-11-01 19:50:21 -07:00
util.js [WIP] Fix app images in Next.js 2021-11-02 00:50:39 -07:00