✕ Clear all filters
24 articles
▶ Videos →

📰 Dev.to · Anas Sheikh

24 articles · Updated every 3 hours · View all reads

All Articles 189,109Blog Posts 170,867Tech Tutorials 50,677Research Papers 36,770News 23,152 ⚡ AI Lessons
Your Next.js App Might Be Leaking Secrets Right Now. Check Your Client Bundle.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Your Next.js App Might Be Leaking Secrets Right Now. Check Your Client Bundle.
Your app can be perfectly functional, beautifully designed, deployed on Vercel, passing every...
Next.js Server Actions Have Built-In CSRF Protection. Your API Routes Probably Don't.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Next.js Server Actions Have Built-In CSRF Protection. Your API Routes Probably Don't.
I wrote a post a while back about Server Actions being public, directly callable endpoints regardless...
Check Your Next.js Client Bundle Right Now. Your API Keys Might Already Be There.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Check Your Next.js Client Bundle Right Now. Your API Keys Might Already Be There.
This one takes about ninety seconds to check on your own project, and I'd genuinely encourage you to...
Your Next.js Middleware Might Be Running More Often Than You Think, Thanks to Prefetching
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Your Next.js Middleware Might Be Running More Often Than You Think, Thanks to Prefetching
Here's a question worth actually testing on your own app: if a user never clicks a link, just scrolls...
I've Reviewed a Dozen Next.js Stripe Integrations. Almost None Handle This Race Condition.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
I've Reviewed a Dozen Next.js Stripe Integrations. Almost None Handle This Race Condition.
Quick fact that surprises a lot of developers the first time they hear it: Stripe does not guarantee...
Your Next.js Server Actions Are Public API Endpoints. Most Developers Don't Realize This.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Your Next.js Server Actions Are Public API Endpoints. Most Developers Don't Realize This.
Quick question. If you have a Server Action that deletes a user's account, called from a single...
Stop Wrapping Everything in 'use client'. It's Quietly Killing Your Next.js Performance.
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Stop Wrapping Everything in 'use client'. It's Quietly Killing Your Next.js Performance.
Open ten random Next.js App Router projects on GitHub right now. I'd bet real money that at least...
Cron Jobs and Scheduled Tasks in Next.js 15 The Setup I Actually Use
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Cron Jobs and Scheduled Tasks in Next.js 15 The Setup I Actually Use
Next.js has no built-in concept of a background job that runs on a schedule, since it is...
Multi-Tenancy in Next.js 15 The Pattern I Use for SaaS Products
Dev.to · Anas Sheikh 🌐 Frontend Engineering 1mo ago
Multi-Tenancy in Next.js 15 The Pattern I Use for SaaS Products
The first version of a multi-tenant feature I built had a bug where one clinic's queue data briefly...
Real-Time Features in Next.js 15 The Pattern I Use for Live Updates
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 1mo ago
Real-Time Features in Next.js 15 The Pattern I Use for Live Updates
A queue status that only updates on page refresh is not actually useful for a live dashboard. Neither...
Testing Next.js 15 Apps — The Setup I Actually Use
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 1mo ago
Testing Next.js 15 Apps — The Setup I Actually Use
For a long time I skipped testing on freelance projects entirely. Tight deadlines, one developer,...
Form Handling in Next.js 15 Zod, Server Actions, and the
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 1mo ago
Form Handling in Next.js 15 Zod, Server Actions, and the
For a long time my forms were a mess of scattered useState calls, one per field, plus a manual...
Error Handling in Next.js 15 error.tsx, notFound(), and the Patterns I Actually Use
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 1mo ago
Error Handling in Next.js 15 error.tsx, notFound(), and the Patterns I Actually Use
For a while, every unhandled error in my Next.js apps meant one thing: the whole page went...
How to Make Your Next.js App Blazing Fast — Performance Checklist
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
How to Make Your Next.js App Blazing Fast — Performance Checklist
A slow Next.js app is almost always caused by the same 6 things. Here's how to find and fix all of...
Stop Manually Validating API Input — Use Zod in Next.js
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
Stop Manually Validating API Input — Use Zod in Next.js
Every production Next.js app needs input validation. Most developers do it manually: if...
Next.js 15 Caching Explained — Finally Makes Sense
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
Next.js 15 Caching Explained — Finally Makes Sense
Next.js caching confused me for months. The docs are thorough but overwhelming. Nobody explains the...
6 React Mistakes That Waste Hours — And How to Fix Them
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
6 React Mistakes That Waste Hours — And How to Fix Them
I've reviewed a lot of React codebases. The same mistakes appear every time. Here are the 6 that...
Next.js Server Actions — Stop Writing API Routes for Forms
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
Next.js Server Actions — Stop Writing API Routes for Forms
I used to write an API route for every form submission. Register form → /api/auth/register Contact...
The Next.js 15 Folder Structure I Use in Every Production Project
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
The Next.js 15 Folder Structure I Use in Every Production Project
I've built multiple production Next.js apps. Every time I started a new project I wasted hours...
7 Next.js 15 Mistakes I Made Building 4 Templates (And How to Fix Them)
Dev.to · Anas Sheikh 🌐 Frontend Engineering ⚡ AI Lesson 2mo ago
7 Next.js 15 Mistakes I Made Building 4 Templates (And How to Fix Them)
I've built 4 production Next.js 15 templates in the last few months. I made a lot of mistakes along...