From 7764a2d3991c7736c40c3f71be25aae164516312 Mon Sep 17 00:00:00 2001 From: porames-at Date: Mon, 1 Dec 2025 16:36:30 +0700 Subject: [PATCH] :book: Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae0e5c7..2ee1a07 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ This repository includes an example project to demonstrate React PDF in action. 2. **Open in Browser**: Open your browser and navigate to `http://localhost:3000` (or the port specified in your terminal) to see the example project in action -### Using the React PDF Component +### Using React PDF in the App Router -Once the example project is running, you can explore the source code to see how the React PDF component is integrated. Here is a brief overview: +This example uses the Next.js App Router, which requires marking your PDF components as client components and disabling SSR because React PDF relies on browser APIs. Here is a brief overview: 1. **Import the component**: Import the desired React PDF component into your codes