Skip to content

SSR React app with dynamic theming (Light, Dark, System) using cookies and production-ready setup.

Notifications You must be signed in to change notification settings

maxh1t/react-ssr-themes-example

Repository files navigation

React SSR Themes Example

An example of a server-side rendered (SSR) React application.

This repository complements the article: Setting Up Themes in SSR React Applications

Features

  • Light, Dark and System Themes
  • Cookie-Based Theme Management
  • Production-Ready Setup

Run Project

Install Dependencies:

pnpm install

Development Mode:

pnpm dev

Production Mode:

pnpm build && pnpm start