Frontend Snacks ๐Ÿฟ

๐Ÿฟ Underrated Caching Trick, My Next.js Conf Talk Reveal

Hey ,

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 plans. This year I thought, whatโ€™s stopping me now? โœจ if you are in italy, please reply to this email as I need all the help I can get.

โ€‹

Now, let's hear it from our Sponsor.

PRESENTED BY CODERABBIT AI

AI coding agents like Claude Code, Cursor CLI, and Gemini make it fast to generate code but how do you make sure itโ€™s actually production-ready?

CodeRabbit CLI gives you free, senior-engineer level reviews right in your terminal. Catch bugs, hallucinations, and security issues before you commit.

  • โšก Code review at terminal velocity
  • ๐Ÿ›‘ Stop AI slop before it ships
  • ๐Ÿ”„ Works with all coding agents

CodeRabbit has reviewed 10M+ PRs and is the most-installed AI app on GitHub Marketplace.

Now itโ€™s completely FREE ๐ŸŽ in your CLI.

All you need is One simple command ๐Ÿ‘‡

โ€‹
Weekly Snack: use-cache in Next.js

Why make your users fetch the same data again and again? Thatโ€™s where the "use cache" directive comes in.

It lets you mark routes, components, or even functions as cacheable so repeat work is skipped and your app instantly feels snappier โšก.

Simply drop a "use cache" line underneath the definition and boom, cached ๐Ÿง™โ€โ™€๏ธ!

(Heads up: use cache is still experimental.)

โœจ How it works:

  • On the server โ†’ cache entries are stored in memory.
  • On the client โ†’ cached responses live in the browser for the session (or until revalidated).

โœ… Action item for you:

Spot one expensive function or a slow component in your app and wrap it with use cache. Your future self (and your users) will thank you.

You can also read the full deep dive here.

โ€‹

๐Ÿš€ Latest Frontend News

Make sure to check out Cache Components as we gear up for Next.js 16โ€‹

If you're using Tailwind, don't sleep on child selectors, here's howโ€‹

TanStack Start v1 Release Candidate is out now (a serious React framework contender)

Github has a MCP Registry now, I mean why reinvent the wheel, simply look at the registry and use it.

Introducing ai-sdk-zustand for AI SDK - state management, debugging tools and more

The Best React Feature is dropping soon - Activity. It lets you hide and restore the UI and internal state of its children.

React components for Creative Developers, honestly one of my favouritesโ€‹

Build your own MCP Server with Agents

โ€‹Dev Tools for AI SDK are just incredible, you get real-time AI streaming debugging, performance metrics and more.

โ€‹

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.

I write all my newsletters using Kit โ†—, my favorite newsletter platform.

Share this newsletter

Subscribe to the newsletter

Get the latest updates delivered directly to your inbox.