Studio Ghibli Meets ShadCN, and Why β€˜server-only’ Just Saved My App


Hey Reader,

🎨 Ever wanted your website to feel like it came straight out of a Studio Ghibli movie?

I just discovered a Ghibli-inspired ShadCN UI theme that brings that dreamy, hand-painted magic to your components β€” and it’s absolutely stunning.

If you're as obsessed with that aesthetic as I am, you're gonna love this.

video preview​

I also share a Github Repo you can check out too that goes along well with the video.

🍿 Weekly Snack: 'server-only' vs 'use server'

Next.js has two easily confused directives: 'use server' and server-only.

πŸ’‘ server-only has nothing to do with Server Actions.

'use server' marks a function to run on the server and be exposed as an HTTP endpoint β€” that’s a Server Action.

But it doesn't prevent the file from being imported in a client component β€” which causes runtime failures, often in production.

That’s why server-only exists: It enforces a hard boundary, throwing an error if you import server code on the client β€” so mistakes fail early, not late.

βœ… 'use server'

β†’ Specifically for Server Actions

β†’ This function is allowed to run on the server only, and can be called from the client via form submissions or imperative actions

β†’ Enforced at runtime, not build time


βœ… server-only

β†’ Not related to Server Actions at all

β†’ Just a safety guard πŸ” that says: β€œThis file must never be used in a client component or client context”

β†’ Enforced at build time, not runtime


⚠️ Key TakeAways

β†’ Don’t use server-only on Server Actions but for database helpers, private APIs, or files that access environment variables.
β†’ You can’t rely on 'use server' to protect sensitive server modules.

β†’ Use them side-by-side in a project, but not in the same file.

πŸš€ Latest Frontend News

🧰 Supabase dropped their official UI Library β†— β€” built with ShadCN registry, works with React, Next.js, TanStack.
Includes login, dropzone, real-time avatars/chat, and AI prompts.

⚑ Vite published a dev server security patch. Update if you're on any of these versions: 6.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11

βš™οΈ Next.js 15.2.3 includes a security fix too β€” update or follow the mitigation steps β†—. Hosted apps on Vercel, Netlify, and Cloudflare are safe.

🚒 Windsurf Wave 6 is live β€” now supports one-click deployment β†—. Fast and super dev-friendly.

Ready to multithread everything with Cursor 0.48 β†— few cool things are,

  • 🧩 Multi-tab chats for parallel workflows (Cmd+T).
  • πŸ”Ž Faster Indexing: Shared codebases now index dramatically faster (e.g., Cursor repo: 20 min β†’ under 1 min).
  • πŸ”” Sound Notification: Audio cue when AI response is ready.
  • πŸ€‘ Cost Visibility: See cost per chat (usage-based plans).

βš™οΈ Prisma published 2 ways to integrate Trigger.dev into a Next.js + Turborepo app β†— β€” with working monorepo setups.

πŸš€ Deploy Next.js anywhere you like, check this RFC​

​React 19.1 just dropped πŸ’₯ β€” here’s what’s worth a look:

  • πŸ•΅οΈβ€β™€οΈ Debug smarter with the new Owner Stack (dev-only), making it easier to trace who rendered what.
  • ⏳ Suspense is now everywhere β€” client, server, even during hydration β€” with cleaner fallback behavior and better scheduling.
  • πŸ§ͺ Experiment with unstable_prerender in React Server Components, now with edge streaming support.

🧰 Recommended Tools

🧱 I shared my Tech stack for my First SaaS ProofyBubble β†—

⚑ Convert your Vercel + Next.js app and auto-deploy it to Cloudflare. Check it out β†—

​My Daily Dev Toolkit (What I Actually Use) I use on a daily basis

Vercel is providing platform credits, exclusive community support, and extra benefits for your open source project, apply here.

πŸŽ₯ Weekly Youtube Videos

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

​

I Just Found the BEST Ghibli Shadcn UI Components!

video preview​

Build and Deploy a Full Stack AI SaaS Full Course (2025)

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

Hey friend, ✨ I’m thrilled to share that I’m bringing back my popular workshop, Engineering Manager Blueprint and this time it’s completely FREE 🎁! πŸ“† When: September 3rd, 2025 - 12:00 - 1:30 pm EST 🀩 πŸ“Where: Zoom Figuring out how to succeed as an Engineering Leader in 2023 can feel like walking through mud. Thankfully, after leading 100+ developers and leaders, I’ve developed a system to make that walk feel shorter and easier. In this 90-minute workshop, you'll learn: A 8-part framework for...

Next.js Type safety

Hey Reader, Now that the Modern Full Stack Next.js Course is live and hundreds of students are already learning from it πŸ₯³, I’ve started thinking about what to build next. I'd love to hear from you. What should I focus on next? I’m working on my next big course, and your input will help shape everything from the topics we cover to the real-world projects we build together. It only takes a couple of minutes to share your thoughts, but it’ll make a huge difference. πŸ‘‰ Fill out the quick form here...

useTransition frozen ui fix

Hey Reader, I’ve rebuilt my stack for 2025 not because of hype, but because I need tools that help me ship faster while scaling my apps. A few months ago I created a similar video, but since then I have changed quite a few things to help me ship faster. I no longer use a few tools that I shared earlier. In this video, I share the exact principles from some production-ready apps I've shipped. If you’re building SaaS or side projects this year, this might save you weeks πŸ‘‡. Show some love by...