Skip to content

Commit 3eea36d

Browse files
committed
wip
1 parent 3fb6aac commit 3eea36d

26 files changed

+62
-40
lines changed

snippets/react-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const ReactSpecific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/svelte-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const SvelteSpecific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/svelte4-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const Svelte4Specific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/svelte5-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const Svelte5Specific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/vue-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const VueSpecific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/vue2-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const Vue2Specific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

snippets/vue3-specific.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useEffect, useState } from "react";
2-
31
export const Vue3Specific = ({ children }) => {
42
const [code, setCode] = useState(
53
localStorage.getItem("code")?.replace(/"/g, "") || null,

v2/advanced/error-handling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Inertia solves this issue by showing all non-Inertia responses in a modal. This
1414

1515
By default, Inertia displays error modals using a custom `<div>` overlay. However, you can opt-in to using the native HTML `<dialog>` element instead, which provides built-in modal functionality including backdrop handling.
1616

17-
To enable this, configure the `future.useDialogForErrorModal` option in your [application defaults](/client-side-setup#configuring-defaults).
17+
To enable this, configure the `future.useDialogForErrorModal` option in your [application defaults](/v2/installation/client-side-setup#configuring-defaults).
1818

1919
```js
2020
createInertiaApp({

v2/advanced/events.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ The `error` event is not cancelable.
471471

472472
## Invalid
473473

474-
The `invalid` event fires when a non-Inertia response is received from the server, such as an HTML or vanilla JSON response. A valid Inertia response is a response that has the `X-Inertia` header set to `true` with a `json` payload containing [the page object](/the-protocol#the-page-object).
474+
The `invalid` event fires when a non-Inertia response is received from the server, such as an HTML or vanilla JSON response. A valid Inertia response is a response that has the `X-Inertia` header set to `true` with a `json` payload containing [the page object](/v2/core-concepts/the-protocol#the-page-object).
475475

476476
This event is fired for all response types, including `200`, `400`, and `500`response codes.
477477

@@ -750,4 +750,4 @@ The `prefetched` event is not cancelable.
750750

751751
## Event Callbacks
752752

753-
In addition to the global events described throughout this page, Inertia also provides a number of [event callbacks](/manual-visits#event-callbacks) that fire when manually making Inertia visits.
753+
In addition to the global events described throughout this page, Inertia also provides a number of [event callbacks](/v2/the-basics/manual-visits#event-callbacks) that fire when manually making Inertia visits.

v2/data-props/infinite-scroll.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export default function Users({ users }) {
217217

218218
</CodeGroup>
219219

220-
For more information about the reset option, see the [Resetting props](/merging-props#resetting-props) documentation.
220+
For more information about the reset option, see the [Resetting props](/v2/data-props/merging-props#resetting-props) documentation.
221221

222222
## Loading Direction
223223

0 commit comments

Comments
 (0)