1.16.0
Branches
main (2.15.0)
dev
Versions
2.15.0
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
useRouteError
Tutorials
Blog Tutorial (short)
App Tutorial (long)
Pages
Preparing for v2 🆕
Philosophy
Technical Explanation
Remix Stacks
Contributing
API Development Strategy 🆕
Community
FAQs
Gotchas
File Conventions
entry.client
entry.server
remix.config.js
root
Route File Naming (v2) 🆕
Route File Naming
Route Module API
action
CatchBoundary
Component
ErrorBoundary
ErrorBoundary (v2) 🆕
handle
headers
links
loader
meta
meta (v2) 🆕
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
useTransition
Utilities
Cookies
defer
isRouteErrorResponse
json
unstable_parseMultipartFormData
redirect
Sessions
unstable_createFileUploadHandler
unstable_createMemoryUploadHandler
Other API
@remix-run/dev (CLI)
@remix-run/{adapter}
@remix-run/serve
Asset Imports
Web Fetch API
@remix-run/node
React Router v6
Guides
Accessibility
API Routes
Backend For Frontend
Browser Support
Module Constraints
Data Loading
Data Writes
Deployment
Disabling JavaScript
Environment Variables
Error Handling
File Uploads
MDX
Migrating from React Router
Not Found Handling
Optimistic UI
Performance
Resource Routes
Routing
Streaming
Styling 🆕
TypeScript
Tutorials
Blog Tutorial (short)
App Tutorial (long)
Pages
Preparing for v2 🆕
Philosophy
Technical Explanation
Remix Stacks
Contributing
API Development Strategy 🆕
Community
FAQs
Gotchas
File Conventions
entry.client
entry.server
remix.config.js
root
Route File Naming (v2) 🆕
Route File Naming
Route Module API
action
CatchBoundary
Component
ErrorBoundary
ErrorBoundary (v2) 🆕
handle
headers
links
loader
meta
meta (v2) 🆕
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
useTransition
Utilities
Cookies
defer
isRouteErrorResponse
json
unstable_parseMultipartFormData
redirect
Sessions
unstable_createFileUploadHandler
unstable_createMemoryUploadHandler
Other API
@remix-run/dev (CLI)
@remix-run/{adapter}
@remix-run/serve
Asset Imports
Web Fetch API
@remix-run/node
React Router v6
Guides
Accessibility
API Routes
Backend For Frontend
Browser Support
Module Constraints
Data Loading
Data Writes
Deployment
Disabling JavaScript
Environment Variables
Error Handling
File Uploads
MDX
Migrating from React Router
Not Found Handling
Optimistic UI
Performance
Resource Routes
Routing
Streaming
Styling 🆕
TypeScript
useRouteError
This hook is simply a re-export of
React Router's
useRouteError
.
©
Shopify, Inc.
•
Docs and examples licensed under
MIT