Uploaded April 2023 | Updated November 2026, 20 minutes ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Mutating data in Next.js and seeing the immediate data updates from the mutations with Nextjs 13 requires understanding how Next.js caches data, how the Next.js useRouter hook works, and how both hard and soft navigation differ within your Next.js application.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Mutating Data in Next.js | Mutations with Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:26) Lesson Plan
(01:02) Important Note
(01:27) Two ways to see immediate updates
(02:34) Reviewing the components
(04:26) router.refresh()
(05:01) Reviewing the app in VS Code
(08:05) Running the app & JSON-Server
(09:47) Identifying a BIG Problem
(13:44) Setting prefetch to false
(15:12) Hard navigation vs Soft navigation
(16:14) Is prefetch the right solution?
(18:35) A Better Solution is almost here
π Tutorial References:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
π Reference GitHub Issue: github.com/vercel/next.js/issues/42991
Was this Next.js tutorial about mutating data helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #mutations #mutating
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Mutating data in Next.js and seeing the immediate data updates from the mutations with Nextjs 13 requires understanding how Next.js caches data, how the Next.js useRouter hook works, and how both hard and soft navigation differ within your Next.js application.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Mutating Data in Next.js | Mutations with Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:26) Lesson Plan
(01:02) Important Note
(01:27) Two ways to see immediate updates
(02:34) Reviewing the components
(04:26) router.refresh()
(05:01) Reviewing the app in VS Code
(08:05) Running the app & JSON-Server
(09:47) Identifying a BIG Problem
(13:44) Setting prefetch to false
(15:12) Hard navigation vs Soft navigation
(16:14) Is prefetch the right solution?
(18:35) A Better Solution is almost here
π Tutorial References:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
π Reference GitHub Issue: github.com/vercel/next.js/issues/42991
Was this Next.js tutorial about mutating data helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #mutations #mutating










