Skip to content

Commit

Permalink
some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Nov 21, 2023
1 parent 0e1b18f commit c213fdf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions exercises/04.mutations/05.solution.intent/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
notes. In the future, we can handle creating new notes, but that will require
logging in as a user and associating the note with that user. We'll get to that
in the future!

🦉 You may have noticed that Remix is automatically canceling requests if you
hit the delete button multiple times. This is an awesome feature of Remix. Feel
free to learn more by watching this Epic Web tip:

<EpicVideo url="https://www.epicweb.dev/tips/automatic-browser-request-cancellation" />
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ Go ahead and add the `preventScrollReset` prop to those links.

- [📜 `<ScrollRestoration />` on Remix](https://remix.run/docs/en/main/components/scroll-restoration)
- [📜 `<ScrollRestoration />` on React Router](https://reactrouter.com/en/main/components/scroll-restoration) (the remix implementation is built on top of this)
- [📜 Scroll Management with Remix and React Router](https://youtu.be/4_H8j3rkpjI)
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
automatically that we need to think about once we bring JavaScript into the
picture. Luckily Remix handles a lot of that stuff for us, but we do need to
think about it and make sure we're using the features Remix provides.

<VideoEmbed
title="Scroll Management with Remix and React Router"
url="https://www.youtube.com/embed/4_H8j3rkpjI?si=p4SA_bm3GuwAYR6l&playsinline=0&rel=0"
/>

0 comments on commit c213fdf

Please sign in to comment.