impress-2020/src
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
..
app Use persisted queries in dev, bc Next.js support 2021-11-23 12:35:20 -08:00
server Paginate the user outfits page 2021-11-01 19:33:40 -07:00
shared Fix UC outfit images 2021-05-25 17:02:29 -07:00
index.js [WIP] Fix eslint for Next.js 2021-11-01 22:07:46 -07:00
react-app-env.d.ts Finally finish TS setup, build works! 2021-02-02 21:38:57 -08:00