Skip to content

feat(ssg): add getStaticPaths support for dynamic ___ routes#2

Open
bllryy wants to merge 1 commit into
hushkey-app:mainfrom
bllryy:getStaticPaths
Open

feat(ssg): add getStaticPaths support for dynamic ___ routes#2
bllryy wants to merge 1 commit into
hushkey-app:mainfrom
bllryy:getStaticPaths

Conversation

@bllryy

@bllryy bllryy commented May 16, 2026

Copy link
Copy Markdown
  • add getStaticPaths route export types (GetStaticPaths, StaticPathParams)
  • prerender dynamic SSG routes by materializing concrete pathnames from param tuples
  • key SSG cache by concrete pathname and resolve at runtime via url.pathname
  • add SSG path materialization helpers and focused unit/integration tests
  • update docs to describe getStaticPaths usage and current optional/wildcard limitations

- add `getStaticPaths` route export types (`GetStaticPaths`, `StaticPathParams`)
- prerender dynamic SSG routes by materializing concrete pathnames from param tuples
- key SSG cache by concrete pathname and resolve at runtime via `url.pathname`
- add SSG path materialization helpers and focused unit/integration tests
- update docs to describe `getStaticPaths` usage and current optional/wildcard limitations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant