Skip to content

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Jan 24, 2026

Summary

  • Add a new "Navigation API" learning page to help users understand the browser API that FUNSTACK Router is built on
  • Explain key differences from History API (reactive vs proactive, fragmented events, custom Link components)
  • Document how native <a> elements work for SPA navigation without special components
  • Show how to access Navigation API events directly (e.g., navigatesuccess for scroll-to-top)

Test plan

  • Run pnpm --filter funstack-router-docs dev and verify the page renders at /funstack-router/learn/navigation-api
  • Verify the "Navigation API" link appears in the Learn section navigation
  • Verify the category card appears on the Learn index page
  • Verify code blocks are syntax-highlighted correctly
  • Run pnpm typecheck to ensure no TypeScript errors

🤖 Generated with Claude Code

Add a new learning page that explains the Navigation API that FUNSTACK
Router is built on. This helps users familiar with History API understand
the key differences and benefits, including:

- History API limitations (reactive popstate, fragmented events)
- Navigation API paradigm (intercept before navigation commits)
- Native <a> elements working for SPA navigation
- Accessing Navigation API events directly when needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@uhyo uhyo merged commit 5f3d769 into master Jan 24, 2026
1 check passed
@uhyo uhyo deleted the docs/navigation-api-learn-page branch January 24, 2026 06:50
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.

2 participants