🍿 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
stop leaking secrets

Hey Reader, Just a quick reminder: my "Black Friday" sale is here! ✨ My records show that you already own the Modern Full-Stack Next.js Course… You can snag ~40% off Developer to Leader, the course that helps Engineers step into Engineering Leadership with confidence. And honestly? In an AI-driven world, the people who lead, not just build are the ones who stand out. Snag ~40% Black Friday Deal 🎈 Regional Pricing will be applied on top of the Black Friday discount, use the code in the banner...

Next.js 16 Cheatsheet

Hey Reader, Last week I told you I was about to drop something big… Well, today’s the day. 🎉 I’ve been building something to finally clear the fog around Next.js 16 - all the new caching rules, data-fetching patterns, rendering behaviors, and how Server Components actually work in real apps. Introducing your Next.js 16 Cheatsheet + Free 3-Part Mini-Course 💫 👉 Click here to get it (free) The moment you download it, you’ll unlock a short email course that starts tomorrow. It’s designed to help...

use cache:remote

Hey Reader, I’ve been heads-down the last few months, building something special 🤫. It’s for every developer who’s ever felt like Next.js changes faster than they can keep up. Different caching rules. New folders. New ways to fetch data. If that sounds familiar… this one’s for you. Next week, I’m dropping something big, something that’ll help you finally understand how all the new pieces in Next.js 16 fit together. No hype, no fluff - just the clarity you’ve been looking for. Make sure you...