Build In Public

Development guides and tutorials on building delightful content experiences

Why Your Next.js 15 Cookies Work Locally But Break in Production (And How to Fix It)
#development#authentication#nextjs
Why Your Next.js 15 Cookies Work Locally But Break in Production (And How to Fix It)

Fix Next.js 15 cookie issues in production. Learn proper httpOnly, secure, and sameSite configurations. Debug authentication cookies that work locally but fail in deployment.

20 March 2025
How to Use Next.js as a Front-End Framework: A Complete Authentication Guide with Nest.js
#authentication#development#nextjs
How to Use Next.js as a Front-End Framework: A Complete Authentication Guide with Nest.js

Learn secure Next.js authentication with Nest.js: Implement JWT tokens, httpOnly cookies, and token rotation. Complete guide with code examples for frontend-only Next.js apps.

20 March 2025
Auth.js vs BetterAuth for Next.js: A Comprehensive Comparison
#react#nextjs#authentication#development
Auth.js vs BetterAuth for Next.js: A Comprehensive Comparison

Comprehensive comparison of Auth.js vs BetterAuth for Next.js, covering setup, documentation, support, and implementation. Make the right choice for your authentication needs.

19 March 2025
How to Read Documentation and Source Code Like a Senior Developer
#career#development
How to Read Documentation and Source Code Like a Senior Developer

Feeling lost in technical docs? Discover how senior developers navigate the maze of documentation bias, sparse explanations, and auto-generated guides with confidence.

18 March 2025
Dependency Injection in React: A Practical Guide for Real Apps
#react#development
Dependency Injection in React: A Practical Guide for Real Apps

Learn practical Dependency Injection patterns in React using Context API, custom hooks, and props. Includes real-world examples and best practices for React component testing.

18 March 2025
Should I Avoid Using Hooks in Next.js?
#react#nextjs#development
Should I Avoid Using Hooks in Next.js?

Confused about hooks in Next.js server components? Learn when to use 'use client', how server-side rendering actually works, and why your team's concerns about optimization might be overblown.

17 March 2025
How Vercel's Prefetching Works: A Deep Dive into Benefits and Gotchas
#vercel#deployment#nextjs#development
How Vercel's Prefetching Works: A Deep Dive into Benefits and Gotchas

Puzzled by mysterious GET requests in your Vercel logs? Discover how prefetching works, why it's causing those requests, and learn to balance performance gains with cost implications.

16 March 2025
Managing Query Keys for Cache Invalidation in React Query
#development#nextjs#react
Managing Query Keys for Cache Invalidation in React Query

Learn effective React Query cache invalidation strategies using Query Key Factory, custom hooks, and centralized services. Master query key management for scalable React applications.

16 March 2025
Should I Use ~/ Instead of @/ for React Import?
#development#react#javascript
Should I Use ~/ Instead of @/ for React Import?

Tired of package name conflicts with @/ imports? Discover why developers are switching to ~/ for clearer React imports and how this small change can make your codebase more maintainable.

13 March 2025
Mastering Mobile Performance: A Complete Guide to Improving Next.js Lighthouse Scores
#vercel#deployment#react#development
Mastering Mobile Performance: A Complete Guide to Improving Next.js Lighthouse Scores

Comprehensive guide to improving Next.js mobile Lighthouse scores. Learn to optimize Core Web Vitals, reduce static chunks, and implement effective third-party script management.

13 March 2025