Skip to content

Conversation

@ZandercraftGames
Copy link

@ZandercraftGames ZandercraftGames commented Oct 9, 2025

Addresses reconciler incompatibility issue in #3223

Opening this up to kick things off with some initial fixes to support the reconciler changes in React 19.2.0.

Unfortunately, I'm still getting the TypeError: Cannot read properties of null (reading 'props') errors experienced in that issue and some occurrences of Invalid hook call. Hooks can only be called inside of the body of a function component., which might still need to be addressed in other components of react-pdf for full 19.2.X compatibility.

The Invalid Hook error seems to be new to React 19.2.0, however, on version 19.1.0, the props error occurs running the latest NPM version of @react-pdf/renderer.

Additionally, this makes the version check in the reconciler's index.ts more flexible for future releases and revisions to react-reconciler as necessary.

@changeset-bot
Copy link

changeset-bot bot commented Oct 9, 2025

🦋 Changeset detected

Latest commit: 17ed299

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 Major
@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

@agodard
Copy link

agodard commented Nov 19, 2025

Hello, do you know if there is any planned release with this update?

@ghigt
Copy link

ghigt commented Nov 24, 2025

We would also need it, could this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants