Build In Public

Development guides and tutorials on building delightful content experiences

Vitest vs Jest - Which Should I Use for My Next.js App?
#development#nextjs#react
Vitest vs Jest - Which Should I Use for My Next.js App?

Struggling with slow tests in your Next.js app? Dive into a real-world comparison of Jest vs Vitest, with actual performance metrics and migration strategies that won't give you nightmares.

24 March 2025
How to Organize Types in a React Project
#development#javascript#react
How to Organize Types in a React Project

Feeling overwhelmed with TypeScript in your React project? Learn a systematic approach to organizing types that will save you from messy APIs and folder structure confusion.

24 March 2025
Testing in Next.js - What Should I Know?
#react#development#nextjs
Testing in Next.js - What Should I Know?

Complete guide to Next.js testing: Learn Jest, Vitest, React Testing Library, and end-to-end testing. Perfect for beginners with practical code examples and configuration steps.

23 March 2025
How to Use Next.js as a Front-End Framework: A Complete Authentication Guide with Nest.js
#nextjs#authentication#development
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
Why Your Next.js 15 Cookies Work Locally But Break in Production (And How to Fix It)
#nextjs#development#authentication
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
Auth.js vs BetterAuth for Next.js: A Comprehensive Comparison
#authentication#react#nextjs#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
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
How to Read Documentation and Source Code Like a Senior Developer
#development#career
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
Should I Avoid Using Hooks in Next.js?
#react#development#nextjs
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
Managing Query Keys for Cache Invalidation in React Query
#development#react#nextjs
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