-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🙏 SPFx - Please upgrade React to modern [and supported] version of React (ideally v18, but at least v17) #8265
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Hi, |
+1 of this request. It would be great to see an upgrade on the version of React. |
Thanks @andrewconnell for bringing this up! Hope to have some updates during this CY, definitely not in 2-3 years :) |
If you’re actively working on it, then why was this issue closed? |
This would be huge. Is there any way you could make the fact that you are working on it transparent in the roadmap? Perhaps even an overview of the challenges involved and how the community might help to move things along? There are many react related npm packages that have their latest version dependant on a more current version of React. |
+1 to making this transparent on the roadmap. This way we can orchestrate other changes we need to make for this important upgrade. The good thing is, when after you have upgraded, React is supposed to be backward compatible, hopefully reducing the upgrade demands in the future :) |
@ryanjfarrell - we can include that in Roadmap. |
Thanks, @AJIXuMuK ! |
Looks like React is still version
|
@jdavis61 see: https://github.com/SharePoint/sp-dev-docs/issues?q=is%3Aissue+is%3Aopen+label%3Areact-17 It's coming... soon... |
in the latest beta (1.16.0-beta.2) we've updated React to 17 |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
Issue description
The current version of React in new SPFx v1.15 projects is React v16. That version was released FOUR years ago (April 2018). Since then, there have been two major releases of React... v17 (nearly 2 years ago, October 2020) & v18 (current).
You can't even get the docs for the React v16 version from the React docs anymore.
PLEASE upgrade to a more modern version of React. While I understand you can't run two versions of React on the same page without a LOT of gymnastics, even though SPO uses React v16, it's outdated and not supported.
The text was updated successfully, but these errors were encountered: