Open luokelong opened 1 month ago
Same here.
I have the same issue using the PDFDownloadLink component.
Has any official paid attention to this issue?
Same here with "@react-pdf/renderer": "3.4.4", "next": "14.2.12",
If anyone is having this issue, there are two temporary fixes:
next@14.2.8
and to make it work for nowThese are just patches to make it work for now though
The issue is related to a regression in a next.js version or a bug in this package?
Same here. Downgrade to next@14.2.8 helped, thanks @typesafeui . Hopefully someone fixes it
I also found that importing this way works in "next": "14.2.16"
:
'use client'
import {Document, Page, View, Text} from "@react-pdf/renderer/lib/react-pdf.browser";
"@react-pdf/renderer": "^4.0.0", "next": "14.2.13",