diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
15.02k stars 1.19k forks source link

fix: conditional rendering #2983

Closed diegomura closed 3 days ago

diegomura commented 3 days ago

Fixes #2978 Fixes #2982 Fixes #2973 Fixes #2957

Rollback to reconciler v23 for React 16, 17 and 18, which is what we historically used. I bumped it on the latest changes thinking it would be fine, but apparently I need a change I ignore. There's no reason why not going back to this. Has been working great for many years. People will start migrating to React 19 eventually and this will get deprecated over time

changeset-bot[bot] commented 3 days ago

🦋 Changeset detected

Latest commit: 18bc508b61df9e9da67efec07e32ca2929a5eb7a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | ----------------------- | ----- | | @react-pdf/reconciler | Patch | | @react-pdf/renderer | Patch | | next-14 | Patch | | next-15 | Patch | | @react-pdf/vite-example | Patch | | @react-pdf/e2e-node-cjs | Patch | | @react-pdf/e2e-node-esm | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR