🍿 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
Block Pirated traffic

Hey Reader, Ever been stuck writing the same SQL queries over and over again… not because they’re hard, but because someone on your team needed the data and didn’t know how to get it? I’ve been there. Whether it’s marketing asking, “How many users signed up last week?” or product wondering, “Did anyone actually use that new feature?”, the questions are simple but the friction to get answers is very real. So I built something for that. Introducing: the AI Agent that talks directly to your...

Hey Reader, A couple years ago, I realized something unexpected: I was growing faster in my career not by doing more tutorials or chasing the next shiny framework but by finding a mentor. Want to level up your Next.js skills? → Find a mentor who has shipped production-ready apps. Want to get better at public speaking? → Find someone who’s done it before. At one point, I had multiple mentors, each helping me with something specific. Their guidance made all the difference and helped me focus.It...

AI SDK Wrapper

Hey Reader, A couple of weeks ago, I kicked off the AI Agent Series 🧠⚙️ and the response has been wild 🤯. So many of you said, “I had no idea it was this fast to build AI Agents”. I walkthrough simple AI Agent Frameworks like this to make it useful for you. AI Agent Framework No fluff, no abstractions. Just real tools, real use cases, and clean architecture that you can build on. And Today, we’re diving into an AI tool that every developer should be using and is probably missing from your...