Dev Encyclopedia
ArticlesToolsContactAbout

Get notified when new content drops

No spam. Just new articles, tools, and updates straight to your inbox.

Dev Encyclopedia

A reference for builders

Dev.to
Discord
WhatsApp Channel
daily.dev
Hashnode
X

Content

  • Articles
  • Tools
  • About
  • Contact

Connect

  • support@devencyclopedia.com
  • RSS Feed

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

© 2026 Dev Encyclopedia

Back to top ↑
  1. Home
  2. /Blog
  3. /web development

web development

8 articles

nextjs

How to Use Environment Variables in Next.js (Without Leaking Them to the Browser)

Learn how to use .env files in Next.js correctly. Understand NEXT_PUBLIC_, avoid common mistakes, and set variables in Vercel and Cloudflare.

May 30, 2026·15 min read·Zeeshan Tofiq
html css

8 CSS :has() Patterns You'll Actually Use (2026)

CSS :has() is production-ready in every browser. Here are 8 real-world patterns: form states, sibling dimming, modal scroll-lock, and more.

May 30, 2026·15 min read·Zeeshan Tofiq
javascript

5 async/await Mistakes That Slow Your JavaScript Code

Sequential awaits, await in forEach, missing Promise.all: these 5 async/await mistakes silently slow your JavaScript. Here's how to spot and fix each one.

May 30, 2026·20 min read·Zeeshan Tofiq
react

ARIA in React: Stop Using aria-label Wrong

Pages using ARIA average 41% more accessibility errors. Learn the correct ARIA patterns for React: icon buttons, modals, toasts, spinners, and tab panels.

Jun 1, 2026·14 min read·Zeeshan Tofiq
react

React Fiber Architecture Explained: How React Renders UI

React Fiber is the engine behind every React render. Learn how it works: render phase, commit phase, Lanes, and double buffering, explained with analogies.

Jun 7, 2026·18 min read·Zeeshan Tofiq
nextjs

30 Next.js Interview Questions and Answers (2026)

30 Next.js interview questions with full answers: App Router, Server Components, use cache, PPR, Turbopack, and auth. Updated for Next.js 15 and 16.

Jun 8, 2026·38 min read·Zeeshan Tofiq
nextjs

Next.js middleware.ts to proxy.ts: What Changes

Next.js 16 renamed middleware.ts to proxy.ts, and it's not just a name change. Here's what the runtime switch means and how to migrate a real auth-check file.

Jul 1, 2026·13 min read·Zeeshan Tofiq
react

Mercor Frontend Engineer Interview: How to Prepare for AI Model Training Jobs

Getting a Mercor frontend engineer interview? Here's what the React and Next.js coding round actually tests, and how to prepare in a weekend.

Jul 20, 2026·17 min read·Zeeshan Tofiq