1.14.3
Branches
main (2.14.0)
dev
Versions
2.14.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
Philosophy
Technical Explanation
Remix Stacks
Contributing
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
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
useTransition
Utilities
Cookies
defer
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
Philosophy
Technical Explanation
Remix Stacks
Contributing
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
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
useTransition
Utilities
Cookies
defer
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