ITEnthusiasm
06/05/2024, 1:38 PMPOST
request to Next.js pages
routes that use getServerSideProps
. It also looks like they're aware of some of the limitations that one can run into when solely relying on the edge. (https://x.com/leeerob/status/1780705942734331983?lang=en) And it looks like middleware
in Node.js environments will be appearing at some point? (https://github.com/vercel/next.js/discussions/46722#discussioncomment-9152016)
So when they finally support middleare
in Node.js environments, I will again pages
directory and the app
directory. I think middleware is the only thing missing. Global setup seems to be [experimentally] doable with instrumentation
. (https://nextjs.org/docs/app/building-your-application/optimizing/instrumentation)
Those potential Next.js updates are probably things worth keeping eyes on. (Don't subscribe to the GitHub discussion though. People are mainly complaining there at this point.)