TanStackT
TanStack7mo ago
8 replies
skinny-azure

Does static pre-rendering work for dynamic routes?

Hey all! Couple feasibility questions here:

1. Does pre-rendering work on dynamic routes which require data loading? I’m coming from Astro where we have getStaticPaths().
2. Do the exported static routes retain beforeLoad functionality? (Auth checks, etc)

Apologies if this has been answered elsewhere. I’ve tried to search this channel and check the docs but they seem vague on specifics.
Was this page helpful?