Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick v2 docs from dev into release-next #7408

Merged
merged 29 commits into from
Sep 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7ce2354
Add docs on error santization (#7315)
brophdawg11 Aug 31, 2023
5967851
chore: format
remix-run-bot Aug 31, 2023
df305ce
docs: form
ryanflorence Aug 29, 2023
49deef4
docs: link docs
ryanflorence Aug 31, 2023
60064f1
chore: format
remix-run-bot Aug 31, 2023
78add14
docs: NavLink
ryanflorence Aug 31, 2023
0396288
chore: format
remix-run-bot Aug 31, 2023
c5dcff2
docs: outlet
ryanflorence Aug 31, 2023
267b339
docs: Scripts
ryanflorence Aug 31, 2023
9d38b94
docs: scroll restoration
ryanflorence Sep 1, 2023
f45397d
docs: useActionData
ryanflorence Sep 1, 2023
550ee66
chore: format
remix-run-bot Sep 1, 2023
ed9882a
docs stuff
ryanflorence Sep 3, 2023
888c9a8
chore: format
remix-run-bot Sep 3, 2023
7edad5b
docs: more API docs updates
ryanflorence Sep 5, 2023
5ac0095
chore: format
remix-run-bot Sep 5, 2023
4568185
docs: useFetchers
ryanflorence Sep 5, 2023
61c913e
chore: format
remix-run-bot Sep 5, 2023
b92ddde
docs: useFormAction
ryanflorence Sep 5, 2023
7c859c1
docs: useHref
ryanflorence Sep 5, 2023
825dae8
docs: useLoaderData
ryanflorence Sep 5, 2023
a7635f3
chore: format
remix-run-bot Sep 5, 2023
03b2a38
docs: useLocation
ryanflorence Sep 5, 2023
aa6d476
chore: format
remix-run-bot Sep 5, 2023
d31cfeb
docs: moving stuff around
ryanflorence Sep 13, 2023
af495a1
docs: fix links to moved files
ryanflorence Sep 13, 2023
ba3906c
docs: nothin
ryanflorence Sep 13, 2023
cb480d9
docs: update main index page
ryanflorence Sep 13, 2023
9cc2966
Change docs cards to point to main
brophdawg11 Sep 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: format
  • Loading branch information
remix-run-bot authored and brophdawg11 committed Sep 13, 2023
commit 59678513fa744016695e963e242a05785c426841
4 changes: 2 additions & 2 deletions docs/guides/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function loader() {
}

export function ErrorBoundary() {
let error = useRouteError();
const error = useRouteError();
// When NODE_ENV=production:
// error.message = "Unexpected Server Error"
// error.stack = undefined
Expand All @@ -95,7 +95,7 @@ export function loader() {
}

export function ErrorBoundary() {
let error = useRouteError();
const error = useRouteError();
if (isRouteErrorResponse(error)) {
// error.status = 500
// error.data = "Oh no! Something went wrong!"
Expand Down