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
Here is a bug report you will eventually get: "The signup form told me what was wrong on your machine, but on the live site it just says something went wrong." Nothing is broken. Next.js is doing this on purpose. But the code that triggers it looks ...
Anas Sheikh • • in Articles • 6 min read
How Much Does a SaaS MVP Cost? Your SaaS MVP cost is decided mostly by four things: how many features you launch with, whether people need accounts to log in, whether you take payments, and how polished the design has to be. A focused MVP built aro...
Anas Sheikh • • in Articles • 3 min read
Almost every Tailwind developer hits this exact bug once, usually right after a deploy, and the confusing part is that nothing about it looks wrong in the code, nothing throws an error, and it worked completely fine five minutes earlier on the same m...
Anas Sheikh • • in Articles • 4 min read
This is the kind of bug that goes from "works perfectly in every test" to "actively leaking one customer's data to another customer" without a single code change in between, purely because of how caching and personalization interact in a way that isn...
Anas Sheikh • • in Articles • 4 min read
This is one of the more consequential Mongoose gotchas because of exactly what tends to live inside a pre'save' hook, password hashing, slug generation, validation logic, and exactly which methods silently bypass it without ever telling you. The Set...
Anas Sheikh • • in Articles • 4 min read
Redirecting a user back to the page they were trying to reach after they log in is good, expected UX. Nobody wants to log in and land back on the homepage when they were actually trying to read a specific article or check out a specific product. The ...
Anas Sheikh • • in Articles • 3 min read
Middleware feels like the cleanest way to gate an entire section of a Next.js app behind auth, one file, one config, covering everything under a path. That confidence is exactly the problem, because the matcher config that's supposed to define "every...
Anas Sheikh • • in Articles • 4 min read
You find out a user's permissions need to change right now, maybe they're being demoted from admin, maybe their account access is being revoked entirely after an incident. You update the database. The change looks instant in your admin panel. Meanwhi...
Anas Sheikh • • in Articles • 4 min read
This is one of those bugs where the code looks completely reasonable, passes every manual test you'd naturally think to run, and still ships with a real defect that only shows up under a specific, very common usage pattern: someone typing faster than...
Anas Sheikh • • in Articles • 4 min read
Somewhere along the way, a lot of Next.js developers picked up the idea that "Server Actions are secure by default" and quietly generalized that into "mutations in this app are secure by default." Those are not the same statement, and the gap between...
Anas Sheikh • • in Articles • 4 min read
Why Your Pages Get Indexed But Never Rank You check Google Search Console. Your page is indexed. Google crawled it, read it, and added it to the index without any errors. You search your exact keyword anyway, and your page is nowhere to be found, n...
Anas Sheikh • • in Articles • 5 min read
What Is Structured Data? A Plain-Language Guide to Schema Markup If you have spent any time reading about SEO, you have probably run into the term "structured data" or "schema markup" and quietly moved on, assuming it was something only developers ...
Anas Sheikh • • in Articles • 3 min read
placeholder="blur" is one of those props that works perfectly the first time you try it, in a quick example with a locally imported image, and then quietly stops doing anything the moment you swap that example for a real image coming from a CMS, S3, ...
Anas Sheikh • • in Articles • 3 min read
This one trips people up specifically because the two words feel interchangeable in everyday English, "optional" and "nullable" both sound like "this might not be there," and Zod treats them as two genuinely distinct, non-overlapping conditions. Wha...
Anas Sheikh • • in Articles • 4 min read
This is one of the easiest performance mistakes to write without noticing, since the code reads completely naturally, top to bottom, each line waiting for the one before it to finish, exactly the way most people learn to write async code in the first...
Anas Sheikh • • in Articles • 4 min read
Deciding something needs to change is the easier decision. The harder one, and the one that actually determines cost and timeline, is whether that change is a handful of targeted fixes or a genuine rebuild from the ground up. Getting this wrong in ei...
Anas Sheikh • • in Articles • 4 min read
A written brief, covered in more depth in an earlier post, gets a conversation started with real information instead of a vague "I need a website." The actual discovery call is where that information turns into a real, shared understanding of the pro...
Anas Sheikh • • in Articles • 4 min read
You read that a Content-Security-Policy header is a good security hardening step. You add a sensible-looking policy to your Next.js config, deploy, and the site loads as a blank or half-working page with a wall of red errors in the console. Nothing ...
Anas Sheikh • • in Articles • 4 min read
A negative review, especially an early one, feels disproportionately catastrophic in the moment, since it's sitting right there, permanently visible, next to everything else a potential client will see about you. Most of what actually determines the ...
Anas Sheikh • • in Articles • 3 min read
This is a genuinely surprising failure mode the first time you hit it, since the natural assumption is that an unmatched parallel route slot would just render nothing, not take down a page that has nothing to do with the slot in question. The Setup ...
chevron_left