Skip to content

Commit

Permalink
Merge pull request #376 from benholmen/master
Browse files Browse the repository at this point in the history
Edit spelling in docs
  • Loading branch information
joetannenbaum authored Jan 9, 2025
2 parents 44f7dbc + c2a63ec commit 3ed2a37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/js/Pages/deferred-props.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function () {
</P>
<H2>Server side</H2>
<P>
To defer a prop, you can use the <Code>defer</Code> method when returning your response. This method recieves a
To defer a prop, you can use the <Code>defer</Code> method when returning your response. This method receives a
callback that returns the prop data. The callback will be executed in a separate request after the initial page
render.
</P>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/history-encryption.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default function () {
<>
<H1>History encryption</H1>
<P>
Imagine a sceniario where your user is authenticated, browses priveleged information on your site, then logs
out. If they press the back button, they can still see the priveleged information that is stored in the window's
Imagine a scenario where your user is authenticated, browses privileged information on your site, then logs
out. If they press the back button, they can still see the privileged information that is stored in the window's
history state. This is a security risk. To prevent this, Inertia.js provides a history encryption feature.
</P>
<H2>How it works</H2>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/routing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function () {
]}
/>
<P>
However, when using Laravel, the <A href="https://github.com/tightenco/ziggy">Ziggy</A> library can make your
However, when using Laravel, the <A href="https://github.com/tighten/ziggy">Ziggy</A> library can make your
named, server-side routes available to you via a global <Code>route()</Code> function. In fact, if you are
developing an application using one of Laravel's{' '}
<A href="https://laravel.com/docs/starter-kits">starter kits</A>, Ziggy is already configured for you.
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/upgrade-guide.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function () {
<H3>Partial reloads are now async</H3>
<P>
Previously partial reloads in Inertia were synchronous, just like all Inertia requests. In v2.0, partial reloads
are now asynchronous. Generally this is desireable, but if you were relying on these requests being synchronous,
are now asynchronous. Generally this is desirable, but if you were relying on these requests being synchronous,
you may need to adjust your code.
</P>
</>
Expand Down

0 comments on commit 3ed2a37

Please sign in to comment.