Skip to content

Commit d3fe713

Browse files
Merge pull request #407 from SergioTGSerra/Update-React-documentation
Update react documentation
1 parent 94f56b0 commit d3fe713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/Pages/server-side-setup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default function () {
7676
/>
7777
<P>
7878
This template should include your assets, as well as the <Code>@inertia</Code> and <Code>@inertiaHead</Code>{' '}
79-
directives.
79+
directives. For React applications, it's recommended to include the <Code>@viteReactRefresh</Code> directive before the <Code>@vite</Code> directive to enable Fast Refresh in development.
8080
</P>
8181
<P>
8282
By default, Inertia's Laravel adapter will assume your root template is named <Code>app.blade.php</Code>. If you

0 commit comments

Comments
 (0)