Skip to content

Commit 9551263

Browse files
committed
add notes
1 parent 1d87c80 commit 9551263

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"cSpell.words": ["Revalidates"]
3+
}

remix/lessons/05-forms-and-actions/lecture/routes/_products-layout._index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export async function action({ request }: ActionFunctionArgs) {
3535
return null
3636
}
3737

38+
// ⭐️ Loader "Revalidates" After Action
39+
// - Will only happen in the future upon action's 200 responses
3840
export async function loader({ request }: LoaderFunctionArgs) {
3941
const cart = await getCart(request)
4042
return json({ cart })

0 commit comments

Comments
 (0)