next-safe-actionplayground
Overview
  • Home
Core
  • Core Actions
  • Validation Errors
  • Middleware
Hooks
  • React Hooks
  • Optimistic Updates
Integrations
  • Form Integration
  • React Hook Form
  • TanStack Query
Framework
  • Navigation & Framework
  • GitHub

Navigation & Framework

Server action navigation functions: redirect, notFound, forbidden, unauthorized.

Navigation Actions
Navigation errors are caught by default (throwOnNavigation: false). Callbacks fire normally.
Status:Idle
Result:
{}
Callback Timeline
All callbacks including onNavigation fire with navigationKind when a navigation function is called.

No callback events yet. Execute an action to see them here.