SSGStatic page for fast loading

About Recipe Hub

Welcome to Recipe Hub - a comprehensive demonstration of hybrid rendering strategies using modern web frameworks including Next.js, Qwik, and Blazor.

What is Hybrid Rendering?

Hybrid rendering combines multiple rendering strategies to optimize for different use cases:

SSG

Static Site Generation

Pages are pre-built at build time for optimal performance and SEO. Perfect for content that doesn't change frequently.

Used for: Homepage, About page, Category listings
SSR

Server-Side Rendering

Pages are rendered on the server for each request, ensuring fresh data and maintaining SEO benefits.

Used for: Comments, User-specific content
ISR

Incremental Static Regeneration

Combines static generation with background updates, providing fast loading with fresh content when needed.

Used for: Recipe detail pages
CSR

Client-Side Rendering

Pages are rendered in the browser, enabling rich interactivity and dynamic user experiences.

Used for: Search functionality, Interactive widgets

Framework Comparison

This monorepo demonstrates the same recipe application built with three different frameworks:

Next.js (This App)

React-based framework with excellent hybrid rendering support through the App Router. Features React Server Components, automatic code splitting, and built-in optimization.

Strengths: Mature ecosystem, excellent DX, comprehensive rendering strategies, built-in optimizations, strong TypeScript support.

Qwik (Coming Soon)

Revolutionary framework focused on resumability and O(1) loading performance. No hydration needed - apps resume exactly where the server left off.

Strengths: Instant loading, fine-grained reactivity, resumability, progressive loading, optimal Core Web Vitals.

Blazor (Coming Soon)

Microsoft's full-stack web framework using C# for both server and client. Offers multiple hosting models including Server, WebAssembly, and Auto.

Strengths: Full-stack C#, SignalR integration, rich .NET ecosystem, multiple hosting options, strong tooling.

Technical Implementation

This demonstration includes:

  • Monorepo structure with pnpm workspaces
  • Shared data layer and assets
  • Docker containers for easy deployment
  • Performance monitoring and comparison tools
  • Real-world examples of each rendering strategy

🔍 Performance Indicators

Notice the colored badges in the top-right corner of each page? They indicate which rendering strategy is being used, helping you understand the different approaches in action.