Closed awocallaghan closed 1 month ago
Thank you very much @awocallaghan for your issue and the way to resolved it ! I wil try to do it as quickly as I can.
hi @awocallaghan , I published 7.22.6-alpha.1437 with the change you propose.
hi @awocallaghan , I published 7.22.6-alpha.1437 with the change you propose.
Amazing! Thanks for all your work maintaining this
Issue and Steps to Reproduce
If you try to use the React 19 beta version with the
react-oidc
package there's an error:This is because
react-oidc
includesreact-jsx-runtime
in the library build.I was able to get this working by changing the vite.config.ts
build.rollupOptions.external
to include"react/jsx-runtime"
:Versions
7.22.4
Expected
React and related dependencies to be treated as external / peer dependencies
Actual
react-jsx-runtime
included in build, causing errors when using React 19 betaAdditional Details
React 19 beta upgrade guide: https://react.dev/blog/2024/04/25/react-19