A framework-agnostic, universal document renderer with optional chunked loading
polyrender.wisp.place/
1# @polyrender/example-react
2
3Vite + React example for [`@polyrender/react`](../../packages/react/README.md). Demonstrates the `<DocumentViewer>` component and the `useDocumentRenderer` headless hook.
4
5> **Note:** This example is still a work in progress. A live demo is coming soon.
6
7## Running locally
8
9```bash
10# From the monorepo root, build all packages first:
11pnpm build
12
13# Then start the Vite dev server:
14cd examples/react
15pnpm dev
16```
17
18To build for production:
19
20```bash
21pnpm build
22pnpm preview
23```