2.0.1
Branches
main (2.15.1)
dev
Versions
2.15.1
1.19.3
v0.21.0
Light
Dark
System
Docs
Blog
Showcase
Resources
Viewing docs for an older release.
View latest
Docs
Blog
Showcase
Resources
View code on GitHub
Chat on Discord
Viewing docs for an older release.
View latest
useNavigationType
Getting Started
Quick Start (5m)
Tutorial (30m)
Upgrading to v2
Community
Future Flags
Discussion Topics
Introduction, Technical Explanation
Runtimes, Adapters, Templates, and Deployment
Route Configuration
Fullstack Data Flow
Server vs. Client Code Execution
React Router
Progressive Enhancement
Pending UI
State Management
Network Concurrency Management
Form vs. fetcher
Form Resubmissions
File Conventions
*.client.ts extension
*.server.ts extension
Asset Imports
entry.client
entry.server
remix.config.js
root
Route File Naming
Route Module
action
Component
ErrorBoundary
handle
headers
links
loader
meta
shouldRevalidate
Components
Await
Form
Link
Links
LiveReload
Meta
NavLink
Outlet
PrefetchPageLinks
Scripts
ScrollRestoration
Hooks
useActionData
useAsyncError 🆕
useAsyncValue 🆕
useBeforeUnload
useFetcher
useFetchers
useFormAction
useHref
useLoaderData
useLocation
useMatches
useNavigate
useNavigation
useNavigationType
useOutlet
useOutletContext
useParams
useResolvedPath
useRevalidator
useRouteError
useRouteLoaderData
useSearchParams
useSubmit
Utilities
Cookies
defer
isRouteErrorResponse
json
unstable_parseMultipartFormData
redirect
redirectDocument
Sessions
unstable_createFileUploadHandler
unstable_createMemoryUploadHandler
Styling
CSS Bundling
Regular CSS
CSS Imports
CSS in JS
CSS Modules
PostCSS
Tailwind
Vanilla Extract
Other API
@remix-run/dev CLI 🆕
@remix-run/{adapter}
@remix-run/serve
create-remix (CLI)
@remix-run/node
Guides
Templates
Contributing
Accessibility
API Routes
Backend For Frontend
Browser Support
Module Constraints
Data Loading
Data Writes
Deployment
Disabling JavaScript
Environment Variables
Error Handling
FAQs
File Uploads
Form Validation
Gotchas
Index Query Param
Local TLS
Manual Dev Server
MDX
Migrating from React Router
Not Found Handling
Performance
Resource Routes
Streaming
TypeScript
Getting Started
Quick Start (5m)
Tutorial (30m)
Upgrading to v2
Community
Future Flags
Discussion Topics
Introduction, Technical Explanation
Runtimes, Adapters, Templates, and Deployment
Route Configuration
Fullstack Data Flow
Server vs. Client Code Execution
React Router
Progressive Enhancement
Pending UI
State Management
Network Concurrency Management
Form vs. fetcher
Form Resubmissions
File Conventions
*.client.ts extension
*.server.ts extension
Asset Imports
entry.client
entry.server
remix.config.js
root
Route File Naming
Route Module
action
Component
ErrorBoundary
handle
headers
links
loader
meta
shouldRevalidate
Components
Await
Form
Link
Links
LiveReload
Meta
NavLink
Outlet
PrefetchPageLinks
Scripts
ScrollRestoration
Hooks
useActionData
useAsyncError 🆕
useAsyncValue 🆕
useBeforeUnload
useFetcher
useFetchers
useFormAction
useHref
useLoaderData
useLocation
useMatches
useNavigate
useNavigation
useNavigationType
useOutlet
useOutletContext
useParams
useResolvedPath
useRevalidator
useRouteError
useRouteLoaderData
useSearchParams
useSubmit
Utilities
Cookies
defer
isRouteErrorResponse
json
unstable_parseMultipartFormData
redirect
redirectDocument
Sessions
unstable_createFileUploadHandler
unstable_createMemoryUploadHandler
Styling
CSS Bundling
Regular CSS
CSS Imports
CSS in JS
CSS Modules
PostCSS
Tailwind
Vanilla Extract
Other API
@remix-run/dev CLI 🆕
@remix-run/{adapter}
@remix-run/serve
create-remix (CLI)
@remix-run/node
Guides
Templates
Contributing
Accessibility
API Routes
Backend For Frontend
Browser Support
Module Constraints
Data Loading
Data Writes
Deployment
Disabling JavaScript
Environment Variables
Error Handling
FAQs
File Uploads
Form Validation
Gotchas
Index Query Param
Local TLS
Manual Dev Server
MDX
Migrating from React Router
Not Found Handling
Performance
Resource Routes
Streaming
TypeScript
useNavigationType
This hook is simply a re-export of
React Router's
useNavigationType
.
©
Shopify, Inc.
•
Docs and examples licensed under
MIT