Vigyata.AI
Is this your channel?

Next.js 15 Tutorial - 23 - Templates

31.6K views· 1,110 likes· 3:51· Jan 8, 2025

🛍️ Products Mentioned (5)

Understanding Template Files in Next.js App Router In this video, we dive into a special file provided by Next.js: the template file. We start by examining the behavior of layout files within an auth route group that handles navigation between register, login, and forgot password links. We demonstrate how to use state in layouts to preserve input data during navigation and highlight when you might need fresh instances of components using template files. Learn the differences between layout and template files, and how to implement them effectively in your Next.js applications. 📔 GitHub Repo - https://github.com/gopinav/Next.js-15-Tutorials 📘 Frontend Interview Course - https://learn.codevolution.dev/ 💖 Support UPI - https://support.codevolution.dev/ 💖 Support Paypal - https://www.paypal.me/Codevolution 💾 Github - https://github.com/gopinav 📱 Follow Codevolution + Twitter - https://twitter.com/CodevolutionWeb + Facebook - https://www.facebook.com/codevolutionweb 📫 Business - codevolution.business@gmail.com 00:00 Introduction to Next.js Template Files 00:06 Understanding Layout Behavior 00:22 Implementing State in Layouts 01:21 Preserving State Across Routes 02:16 Introduction to Template Files 02:44 Creating and Using Template Files 03:18 Combining Layouts and Templates 03:43 Conclusion and Channel Support

🎬 More from Codevolution