From 08347ad88f671f33396fb119a8c8e9f8ced4b1a8 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 14 May 2021 20:04:46 -0700 Subject: [PATCH] Add a note explaining our outfit SSR decision --- api/outfitPageSSR.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/outfitPageSSR.js b/api/outfitPageSSR.js index 11d3864..98ac91f 100644 --- a/api/outfitPageSSR.js +++ b/api/outfitPageSSR.js @@ -5,6 +5,10 @@ * * The route is configured in vercel.json, at the project root. * + * To be honest, we probably should have built Impress 2020 on Next.js, and + * then we'd be getting realistic server-side rendering across practically the + * whole app very cheaply. But this is a good hack for what we have! + * * TODO: We could add the basic outfit page layout and image preview, to use * SSR to decrease time-to-first-content for the end-user, too… */