Frontend First cover image

Saying goodbye to static generation

Frontend First

00:00

Using Next.js to Generate Multiple Versions of a Page

You can generate multiple versions of a page in Next.js. And then you use middleware at request time to check if the user has a subscription if they're logged in or not. This can work nice, but it's kind of two reasons we didn't go down this road. The first being that it's a little confusing to us as developers,. Like if we have one URL that maps to multiple pages, just a little hard to wrap your head around.

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner