Recent posts tagged nextjs

Level UI • 17 hours • in Articles • 9 min read
Somewhere in the last year, "do we need an MCP server?" joined the list of questions that arrive in a brief before anyone has said what the thing is for. It is usually framed as MCP vs API, as though the Model Context Protocol were a newer kind of AP...
post-cover-33074
  • ai
  • api
  • webdev
  • security
Anas Sheikh • 17 hours • in Articles • 4 min read
A user fills in your form and clicks "Create post". The post is saved in the database. And the page shows "Could not create post". They try again. Now there are two posts. Nothing is wrong with your database. Your error handling caught something it...
  • nextjs
  • javascript
  • webdev-learning
  • reactjs
Anas Sheikh • 2 days • in Articles • 4 min read
You notice it during a code review: .env is in the repository. Your stomach drops. You run git rm .env, commit with the message "remove env file", push, and feel the relief of a problem solved. It is not solved. The file is gone from your latest com...
  • security
  • git
  • nextjs
  • webdev
Anas Sheikh • 3 days • in Articles • 4 min read
You upgrade from Next.js 14 to 15. The app compiles, the tests pass, nothing visibly breaks. A week later your database bill is higher, your pages feel slower, and your Time to First Byte graph has a step in it that lines up exactly with the deploy. ...
  • nextjs
  • react
  • webdev
  • performance
Anas Sheikh • 6 days • in Articles • 4 min read
You need a theme provider, so you create a file, add 'use client' at the top, and wrap your app in it. Then a nagging thought arrives: "I just wrapped my entire layout in a client component. Did I turn the whole app into client-side React?" Most de...
  • nextjs
  • javascript
  • reactjs
  • webdevelopment
Lia • Oct 22 • in Articles • 5 min read
A Next.js app is still a web application that speaks HTTP. That is the only placement fact you need before you look for a framework plugin. The SafeLine documents used here do not describe a Next.js SDK, App Router hook, or hosting-platform add-on. T...
  • nextjs
  • waf
  • proxy
  • checklist
Muzilla • Oct 22 • in Articles • 7 min read
If you are asking how to protect a Next.js app with a WAF, start by rejecting the idea of a hidden framework connector. The SafeLine documents supplied here never mention Next.js, React Server Components, a middleware file, or a platform add-on. They...
  • nextjs
  • waf
  • proxy
  • checklist
Anas Sheikh • Oct 21 • in Articles • 4 min read
You format a date in a component. It looks right on your laptop. Then a user in another country opens the page and either sees a console full of hydration errors, or worse, sees nothing wrong at all and reads the wrong time. I live in a timezone tha...
  • react
  • nextjs
  • javascript
  • webdev
Tom Smithverified • 14 hours • in Articles • 9 min read
Security dominated this week, but not in the usual way. Two active campaigns turned GitHub configuration files into attack surfaces. Researchers demonstrated that the built-in browsers inside AI coding tools can read your SSH keys. And at Oracle AI ...
post-cover-33104
  • agenticai
  • devsecops
  • github
  • localai
Anas Sheikh • Oct 18 • in Articles • 4 min read
You add a small search box to your navbar. It reads the query string, so you reach for useSearchParams. Everything works in next dev. You push, the deploy fails, and the build log says: useSearchParams should be wrapped in a suspense boundary at pag...
  • nextjs
  • react
  • typescript
  • webdev-learning
Anas Sheikh • Oct 17 • 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 ...
  • nextjs
  • react
  • typescript
  • webdevelopment
Anas Sheikh • Oct 15 • 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...
  • tailwindcss
  • nextjs
  • react
  • webdev
Nick Fasulo • Oct 14 • in Articles • 6 min read
I recently moved production traffic for Galaxy Movies1, my Next.js movie/TV discovery site, off Vercel and onto Cloudflare Workers. Nothing against Vercel. Vercel is a great platform, and the app ran happily there for a long time. But I was paying fo...
post-cover-31124
  • cloudflare
  • nextjs
  • webdev
  • vercel
Anas Sheikh • Oct 14 • 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...
  • security
  • webdev
  • react
  • nextjs
Anas Sheikh • Oct 13 • 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...
  • mongodb
  • security
  • webdev
  • nextjs
Anas Sheikh • Oct 12 • 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 ...
  • nextjs
  • security
  • oauth
  • webdev
Anas Sheikh • Oct 11 • 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...
  • nextjs
  • security
  • typescript
  • webdev
Anas Sheikh • Oct 10 • 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...
  • nextjs
  • security
  • webdev
  • oauth
AIFlipRoom • Oct 9 • in Articles • 7 min read
Image models are very good at restyling a room and quietly bad at leaving the room alone. Ask for a Japandi living room and you get beautiful furniture, and sometimes also: a window that moved, shrank, or appeared over a kitchen sink where the photo...
  • ai
  • computer-vision
  • nextjs
  • testing
Nick Fasulo • Oct 8 • in Articles • 5 min read
My movie discovery site galaxymovies.app1 needed a feature that sounds simple: "email me when something on my watchlist lands on Netflix." Users save titles to a local watchlist, pick their streaming services, and want a nudge the day a title actuall...
post-cover-30352
  • typescript
  • nextjs
  • serverless
  • webdev
Nick Fasulo • Oct 8 • in Articles • 7 min read
Galaxy Movies is a movie discovery side project ~ Next.js Pages Router on Vercel, TMDB for data, Upstash Redis for caching & rate limiting, and OpenAI for a chat assistant & generated synopses. Everything runs on free tiers, which is the whole point ...
post-cover-30349
  • nextjs
  • webdev
  • serverless
  • redis
Anas Sheikh • Oct 8 • 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...
  • react
  • typescript
  • webdev
  • nextjs
chevron_left
🔥 162 posts • 👩‍💻 64 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile