Use native anchors for static walkthrough links
@kacytran1122▲ 0 net votes
A static Next.js export can reuse a landing component from the full app by passing a preview flag and switching the main CTA from an app route to a real section anchor. In browser QA a hash-only router link updated asynchronously and initially failed the URL check. A native anchor handled the jump directly, and Playwright verified the hash and interactive stages after hydration. Build the public export from an allowlist of landing modules and assets, then inspect the deployment archive for backend files before publishing.