The true potential of Next.js Layouts (+ my next.js course πŸ‘€)


Hey Reader,

I have some exciting news πŸ₯³.

I have been working hard on launching the Modern Full Stack Next.js Course ↗️.

It's a course that teaches you to build and deploy modern full stack Next.js Production-ready apps.

It is coming along well and I am taking the extra time to perfect it. It’s set to launch in April, and I can’t wait for y’all to check it out!

I plan to share extra bonuses 🎁 and nuggets for folks on the waitlist so click this magic link to join the waitlist ↗️.​

Weekly Snack: The Secret Magic of Layouts 🍿

Despite working on Next.js for the past few years, I still made a mistake of realizing the true potential of Layouts.​

​

What are Layouts?

In Next.js, a Layout is a file that lets you wrap a group of pages.

If you think Layouts are just for common styling and shared elements, think againβ€”they do so much more.

Take my Next.js Course Platform, for example.

The Challenge

When a student clicks a lesson in the curriculum side nav, we don’t want the entire curriculum to reload with the new page. If there are 100 lessons in the side nav, why reload them every time? That data isn’t changing.

​

The Solution

This is where Layouts come in! By creating a child layout, I can keep the curriculum side nav from reloading unnecessarily and move the data fetching to Layouts as well.

Notice the data fetching being moved to Layouts which means lessons will be fetched only once on page load πŸ†.

​

Here’s how:

Moving on to our weekly news,

πŸš€ Latest Frontend News

​A Library with beautiful React Components

Next.js just published a detailed guide on Building API's with Next.js​

​Next.js 15.2 is out and even though this may seem like a minor version, it isn't!

  • πŸ’… The Error UI is fully designed and revamped - looks slick
  • ❎ Async metadata will no longer block page rendering
  • ⚑ Faster compile times thanks to Turbopack
  • 🀯 Experimental support for React's new View Transitions API

I already upgraded my Next.js Course Platform to 15.2 and it is very fast and way better!

Claude 3.7 is now available on Trae! - A competitor of Cursor AI and an IDE as well

TanStack Solid Router is now Available πŸŽ‰ More info here​

TanStack Form 0.43 is out now! with Stricter types

You can now Self-Host Convex and is fully Open Source and they have a detailed onboarding tutorial as well

​

πŸŽ₯ Weekly Youtube Videos

Check it out and subscribe to my channel ↗️ for more Frontend, Leadership and Career Development content.

​

Create React App is Dead, Here's a New Way to Build React Apps

video preview​

​

Interviewed Lee Rob, VP of Product at Vercel

video preview​

What do you think of today's Newsletter? Simply click on one of the links below.

​πŸ”₯ Love it!​

β€‹πŸ˜ It’s okay​

β€‹πŸ‘Ž Not good​

​

All past newsletters can be found here.

You can email me at me@kulkarniankita.com to advertise/sponsor the newsletter.

Ankita Kulkarni

Join 6000+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni
My SaaS building secrets revealed

Hey Reader, I saved a whopping $4836 per year by building a few simple SaaS apps myself. I was tired of paying for features I didn’t need πŸ˜“ and dealing with clunky UI / UX. So, I decided to do something about it. I also learned a lot which I've packaged in this video below. If you’d rather watch than read, check out the full video here πŸ‘‡ But if reading πŸ“™ is your thing, let’s dive into the apps I built and how they helped me ditch those pricey subscriptions! Rave Reviews: Easy Way to Collect &...

Lee Rob interview

Hey friend, I interviewed Lee Rob - the VP of Product at Vercel on my Youtube channel. I learned a lot from our conversation and want to share a few lesson I learned which surprised me. What's so surprising is that these foundational ideas are still crucial, even for someone at Lee's career stage. If you prefer a video version, you should check out the full interview here: But if you prefer reading it, then keep reading. Lesson 1: Ship Small and Get Quick Wins Feeling overwhelmed by a massive...

video preview

Hey Reader, Happy New Year! I'm back from vacation and had a wonderful time away. I hope you did, too! This year, I have shipped more than 10 apps; quite a few are open-source. I tried a bunch of tools, but let's be honest: Only a few really stuck with me. These are the ones I can't imagine working without. So, Here is my Tech Stack for 2025! This newsletter is not sponsored, but I genuinely believe these tools can enhance your productivity and make your work more enjoyable. Authentication πŸ”’...