🍿 How TanStack Makes Server Functions Ridiculously Simple


Hey Reader,

I just got back from Amsterdam after speaking at React Summit and wow, what a week! 🇳🇱

I gave a talk called React Framework Showdown 🥊, where I pitted Next.js, TanStack Start, and React Router v7 (aka Remix) against each other in a friendly battle.

Why those three? Because they're leading the pack when it comes to modern React and honestly, each one brought something wildly different to the table.

I'll share the talk when it's live, but for now, let’s hear it from this week's sponsor👇

PRESENTED BY MENTORCRUISE

I know how frustrating self-learning can get, endless tabs open, jumping between blogs, and still feeling stuck.

That’s why I love what MentorCruise is doing.

Instead of one-off coffee chats or random advice, they connect you with vetted mentors (less than 5% get accepted!) who actually meet with you regularly. Whether you're trying to land a new role, get promoted, or level up a skill, you get consistent support, a custom plan, and real accountability.

It’s way more affordable than bootcamps and way more effective than going at it alone. Most folks hit major milestones in just 3 months.

If you’re serious about growing faster, check them out. MentorCruise is built for outcomes, not guesswork.

🍿 Weekly Snack: Creating Server Functions in TanStack

TanStack Server Functions work just like API routes but with superpowers: portable, framework-agnostic, and come with built-in validation.

Here’s what makes them unique:

🧪 Validation-first: Input gets validated before your function runs
🔐 Auto-exposed: They become public HTTP endpoints without fixed URLs

✅ Step 1: Validates the input using Zod
🧠 Step 2: If validation passes, your handler runs
🌐 Step 3: This function becomes an HTTP endpoint you can call from anywhere No need to set up API routes manually.

Just write a function and it's ready to use.

🚀 Latest Frontend News

Dan Abramov’s back with a brain-bending post: Suppressions of Suppressions. It’s all about what happens when you over-suppress React warnings and how lint rules can help save you from yourself.

Still confused about 'use client' and how things import across Server Components? How Imports Work in RSC clears it up beautifully.

Feeling lost in React’s recent direction? Mark Erikson breaks it down with rare clarity, real reasons, community insights, and what the future looks like.

Want that soft, frosted look in your UI? Create a blurry glass effect with this quick CSS trick (video) — no frameworks, just clean styles.

TkDodo explains why TanStack Router is winning dev hearts with type safety, nested layouts, and smart preloading.

Need to store massive files for your app? Vercel Blob now supports uploads up to 5TB with retry support and streaming.

And if you’re building AI tools, Kibo UI’s AI Suggestion component gives you a clean, horizontal suggestion bar ready to drop into any app.

🎥 Weekly Video Pick

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

🔥 Build an AI Agent that Talks to your Database (no SQL needed)

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.

For those curious, I write all my emails using Convertkit.

Ankita Kulkarni

Join 9200+ 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
useEffectEvent

Hey Reader, This week was huge for web dev 🚀. React 19.2 just landed with fixes for some of the most annoying bugs, Sonnet 4.5 dropped with major AI upgrades, and the ecosystem feels like it’s moving faster than ever. I’ve rounded up the highlights (and why they matter) along with this week’s Snack for you below 👇 But before that, let's hear it from our Sponsor. PRESENTED BY CODERABBIT AI Most AI code reviewers feel shallow, they look at syntax, patterns, maybe a guideline or two, but they...

use-cache

Hey Reader, I’ve got some fun news to share 🎉 I’m beyond excited to share that I’ll be speaking at the official Next.js Conf 💖. I’m one of the featured speakers (!!) and would love for you to join me. My talk is called:“Build. Scale. Teach: Architecting and Scaling a Production-Ready Modern Course Platform with Next.js” Make sure to sign up here and come hang out during my sessions 🚀 And... I finally made the move to Italy 🇮🇹. Back in 2019 I almost moved to Europe, but the world had other...

Hello Reader, Thanks so much for joining Engineering Manager Blueprint Workshop! 🙏 I had such a great time hanging out with you live, answering your questions, and geeking out about EAs promised, here’s everything I mentioned (and a little extra to help you grow even faster): 🎥 Workshop Replay I spent the entire day yesterday editing it so you can watch it without any interruptions. I hope this helps! As promised, here's the recording: Watch now 🌟 🚨 Available until Sunday, Sept 7 at 11:59pm...