Posts by Anas Sheikh

@Anas Sheikh

PIxel Anas

Full-stack developer building premium Next.js templates & web apps. Specializing...
Pakistan pixelanas.com Joined August 2026
2k Points • 126 Badges • 9 Connections • 8 Followers • 12 Following

Posts by Anas Sheikh

Anas Sheikh • • in Articles • 4 min read
"You should be blogging" is advice given to nearly every business regardless of what they actually do, which is exactly why it's worth questioning rather than accepting automatically. A blog is a real, ongoing commitment, and for some businesses it's...
Anas Sheikh • • in Articles • 3 min read
If you've ever called revalidatePath after a mutation, watched the data still show up stale on the page, and fixed it by just also calling revalidatePath on a few more related paths until it finally worked, you were probably fighting the actual behav...
Anas Sheikh • • in Articles • 3 min read
Here's something that trips up almost everyone moving from a fetch-based API to a direct MongoDB connection in Next.js, and it's costing real database load on projects that don't even realize it's happening. Next.js automatically deduplicates fetch ...
Anas Sheikh • • in Articles • 4 min read
The first time I added a second language to a project, I stored the actual translated string in component state instead of a translation key. It worked fine until a user switched languages mid-session and half the interface stayed in the old language...
Anas Sheikh • • in Articles • 4 min read
The message came in with a number attached that made me reread it twice. A full SaaS build, a real budget, a client who seemed to already know exactly what they wanted. Every instinct said say yes immediately before they change their mind. I turned ...
Anas Sheikh • • in Articles • 4 min read
Four years ago I had a Fiverr profile, zero reviews, and no idea why nobody was clicking on my gigs. Today I run a Level 2 seller account with a strong rating and no negative reviews. Nothing about that happened overnight, and most of what moved the...
Anas Sheikh • • in Articles • 4 min read
I wrote a post a while back about Server Actions being public, directly callable endpoints regardless of your UI, and a fair number of comments pushed back with some version of "sure, but at least they're not vulnerable to CSRF like a regular form po...
Anas Sheikh • • in Articles • 5 min read
Every SaaS project eventually needs the same thing, a way to charge people. Stripe handles the actual payment processing, but wiring it into Next.js correctly, especially getting webhooks right, is where most of the real work sits. Here is the setup...
Anas Sheikh • • in Articles • 5 min read
A queue status that only updates on page refresh is not actually useful for a live dashboard. Neither is a chat that requires the user to manually reload to see a new message. Real-time features are where Server Components stop being enough on their ...
Anas Sheikh • • in Articles • 6 min read
Building a SaaS product from scratch involves the same handful of pieces every time. Authentication, a database that actually scales, subscription billing, and a dashboard people can use without a manual. None of these are individually hard. Getting ...
Anas Sheikh • • in Articles • 4 min read
This comparison comes up constantly with clients deciding how to build a new site, and the honest answer is neither option is universally better. Each one wins depending on what you actually need. Here is a real breakdown, not a framework sales pitch...
Anas Sheikh • • in Articles • 5 min read
An API route with no rate limiting works fine right up until someone hits it a thousand times a second, either by accident a buggy client retry loop or on purpose. I learned this the annoying way, watching a client's database bill spike because a pub...
chevron_left