Build In Public

Development guides and tutorials on building delightful content experiences

TRPC & TanStack React Query - Now You Can Have Them Both!
#react#development#javascript
TRPC & TanStack React Query - Now You Can Have Them Both!

tRPC + TanStack React Query integration guide: Learn to implement typesafe APIs with powerful data fetching, caching, and query invalidation in your React applications.

04 March 2025
The Ultimate Guide to Setting Up Your Dev Environment for CORS and Live APIs
#development#javascript#nextjs#react
The Ultimate Guide to Setting Up Your Dev Environment for CORS and Live APIs

Tired of that dreaded CORS error blocking your local development? Learn proven solutions for handling CORS restrictions, from Vite's proxy to running local API copies - no more browser headaches.

04 March 2025
Should I Nest or Merge Multiple Context Providers in React?
#nextjs#development#react#javascript
Should I Nest or Merge Multiple Context Providers in React?

Discover when to use nested vs merged Context Providers in React. Master global state management with useContext, React.memo, and performance optimization techniques.

03 March 2025
Choosing the Right Architecture for Socket Communication in Next.js: A Comprehensive Guide
#javascript#nextjs#deployment#development#hosting
Choosing the Right Architecture for Socket Communication in Next.js: A Comprehensive Guide

Struggling with WebSocket scaling and Vercel limitations? Discover the optimal architecture for your Next.js real-time apps - from singleton patterns to Express integration, make an informed choice.

03 March 2025
Next.js 15.2 is Here - What Are We Most Excited About?
#vercel#nextjs#deployment#development#hosting
Next.js 15.2 is Here - What Are We Most Excited About?

Frustrated with Edge middleware limitations? Next.js 15.2 brings full Node.js middleware support, finally letting you use your favorite database drivers and file system operations without restrictions.

27 February 2025
What Node.js Middleware Means for Self-Hosters of Next.js 15.2
#hosting#vercel#nextjs#deployment#development
What Node.js Middleware Means for Self-Hosters of Next.js 15.2

Next.js 15.2 introduces Node.js middleware support, replacing edge middleware. Learn how to implement authentication, use Node.js libraries, and optimize your self-hosted Next.js applications.

27 February 2025
How to Use tRPC with Next.js 15 (App Router)
#development#javascript#nextjs
How to Use tRPC with Next.js 15 (App Router)

Struggling with type safety across web and mobile apps? Discover how tRPC with Next.js 15 delivers end-to-end type safety and superior DX. Learn the optimal monorepo setup for scalable development.

24 February 2025
Common Mistakes to Avoid as a JavaScript Beginner
#javascript#development#growth
Common Mistakes to Avoid as a JavaScript Beginner

Break free from tutorial hell and build real JavaScript skills. Master core concepts, avoid common beginner mistakes, and learn why vanilla JS should be your first programming love.

21 February 2025
How to Handle Authentication Across Separate Backend and Frontend for Next.js Website
#javascript#nextjs#code#authentication#development
How to Handle Authentication Across Separate Backend and Frontend for Next.js Website

Learn how to implement secure authentication in Next.js with Express backend using httpOnly cookies, JWT tokens, and middleware. Complete guide with code examples.

18 February 2025
The Ultimate Guide to Organizing Your Next.js 15 Project Structure
#deployment#nextjs#vercel#development#mega-guide
The Ultimate Guide to Organizing Your Next.js 15 Project Structure

Comprehensive guide to Next.js 15 folder structure: Learn how to organize App Router, components, utils, and lib folders. Includes monorepo setup with pnpm and Turborepo.

16 February 2025