Skip to content

Commit

Permalink
SWR
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Nov 20, 2023
1 parent e1b5169 commit 43e8099
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Title } from "@/app/title";
import { GetTheCode } from "../get-the-code";

export const metadata: Metadata = {
title: "🛠 iron-session examples: Client components, route handlers and swr",
title: "🛠 iron-session examples: Client components, route handlers and SWR",
};

export default function AppRouterRedirect() {
Expand All @@ -22,7 +22,7 @@ export default function AppRouterRedirect() {
href="https://swr.vercel.app"
target="_blank"
>
swr
SWR
</a>
</>
}
Expand Down Expand Up @@ -89,7 +89,7 @@ function HowItWorks() {

<ol className="list-decimal list-inside">
<li>
During login, the form is submitted with swr&apos;s{" "}
During login, the form is submitted with SWR&apos;s{" "}
<a
href="https://swr.vercel.app/docs/mutation#useswrmutation"
className={css.link}
Expand All @@ -100,7 +100,7 @@ function HowItWorks() {
</li>
<li>
{" "}
During logout, the form is submitted with swr&apos;s{" "}
During logout, the form is submitted with SWR&apos;s{" "}
<a
href="https://swr.vercel.app/docs/mutation#useswrmutation"
className={css.link}
Expand All @@ -112,7 +112,7 @@ function HowItWorks() {
<li>
In all other places, the content of the session is optimistally
rendered using the most recent value, and never gets outdated. This is
automatically handled by swr using mutations and revalidation.
automatically handled by SWR using mutations and revalidation.
</li>
</ol>
</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Content() {
<p>
One benefit of using{" "}
<a href="https://swr.vercel.app" target="_blank" className={css.link}>
swr
SWR
</a>
: if you open the page in different tabs/windows, and logout from one
place, every other tab/window will be synced and logged out.
Expand Down
6 changes: 3 additions & 3 deletions examples/next/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Home() {
className={css.link.concat(" text-lg")}
href="/app-router-client-component-route-handler-swr"
>
App router + client components, route handlers, and swr
App router + client components, route handlers, and SWR
</Link>{" "}
🤩
<ul className="list-disc list-inside indent-10 text-md text-gray-700">
Expand All @@ -42,9 +42,9 @@ export default function Home() {
App router + client components, route handlers, redirects, and fetch
</Link>
</li>
<li>OAuth login example (swr) (Help needed)</li>
<li>OAuth login example (SWR) (Help needed)</li>
<li>Pages + API routes, redirects, and fetch (Help needed)</li>
<li>Pages + API routes, and swr (Help needed)</li>
<li>Pages + API routes, and SWR (Help needed)</li>
<li>Pages + getServerSideProps, and redirects (Help needed)</li>
<li>Magic links (Help needed)</li>
<li>req.session wrappers (Help needed)</li>
Expand Down

0 comments on commit 43e8099

Please sign in to comment.