Adding a break on the text element at:
src/pdf-generator/src/pdf-template.tsx:49
causes an infinite loop when rendering the PDF document with @react-pdf/renderer.
This even causes a memory leak crash when the pdf is large enough.
This project requires Node.js v22.21.0 (specified in .nvmrc) and pnpm.
# Install dependencies
pnpm install# Run the example
pnpm startThis will execute the script that demonstrates the memory leak issue.