Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update msal-react to use react 19 #7467

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

arjenbloemsma
Copy link

@arjenbloemsma arjenbloemsma commented Dec 14, 2024

React 19 stable has been released on December 5th (see announcement). This PR updates the react packages to version 19 and also sets the peerDependecies to reflect this.

This change will allow msal-react to be used in projects that use react 19 and enables existing projects that use react and msal-react to upgrade to react 19.

All test succeed:

image

See issue #7455

@github-actions github-actions bot added documentation Related to documentation. msal-browser Related to msal-browser package msal-react Related to @azure/msal-react labels Dec 14, 2024
@arjenbloemsma arjenbloemsma force-pushed the chore/update-to-react-19 branch from edf6e44 to d3e11a1 Compare December 14, 2024 15:09
@github-actions github-actions bot removed documentation Related to documentation. msal-browser Related to msal-browser package labels Dec 14, 2024
@smolaolga
Copy link

@arjenbloemsma arjenbloemsma Nice! Waiting for this update!

@arjenbloemsma
Copy link
Author

@arjenbloemsma arjenbloemsma Nice! Waiting for this update!

Thanks @smolaolga My pleasure

@arjenbloemsma
Copy link
Author

To unblock my project, I've published a npm package of the msal-react fork. This allows us to keep moving forward and use react 19 in dev and test while the official package has not yet been released. Once the new version of official msal-react is released we can simply change back to that package, rebuild and move on.

For those interested in following a similar approach; https://www.npmjs.com/package/@arjenbloemsma/msal-react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-react Related to @azure/msal-react
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants