You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add support for React versions >= 19.0.0 for react-components.
We want to upgrade to react 19 and this library still has < 19.0.0 in its package.json.
React 19 is out for over half a year already.
Thank you so much!
Additional context
No response
Have you discussed this feature with our team
No response
Validations
Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
None
Reacted by Foorack / Max Faxälv, Erik Berggren, Alessandro Pozone, Siyavash Habashi, Ole-Martin Skagevang, Elliot Huffman, fiorellino, Alex, Drew Hershey, Jan Kubica and 49 more
Reacted by David Rivard, Victor Frye, Kryštof Matějka, Juliana Peña, Khokhuda and Eugene
FYI it's not only about relaxing peerDependencies. There is a set of issues related to React 19 (use a tag to filter).
Got it.
Maybe I should open a new issue for that, but for now I first want to understand these symptoms, because maybe it is not necessary to open a new issue:
Once I update my @types/react package from 18.3.17 to 19.0.1 I can no longer use fluentUi's Components with automatic type inference:
(Parameter '_ev' implicitly has an 'any' type.)
As you can see, the Component will automatically resolve to <any> and all callback parameters will also resolve to any, even tho they are defined as
Here is the correct resolution of the types in the previous version (18.3.17) of @types/react:
(And I know that the types for fluentUi should not come from this package but are already included in fluentUi, right?)
Do you know why this happens, or how I could possibly workaround this issue?
Or should I remain on React 18 for the time being and not upgrade to React 19 at all for now?
Thanks in advance.
EDIT: On a second glance, this might be related to the now deprecated forwardRef from React 19, and if this was removed in the types as well, it could explain why the type inference does not work any longer if fluentUi's current version still uses forwardRefs (as is visible in my screenshots above)?
Hi,
I read in comment that there is plan to deliver this feature in this FY. #33492 (comment)
I would like to ask what is progress on this issue and when we could test some preview?
We also got blocked with migration to React 19 because of FluentUI v9 dependency.
I am also curious about when to expect React 19 support. Tudor Popa (@tudorpopams) mentioned in this comment that support may be added in this FY.
But it may be more convenient to start migrating to different UI kit right now, than waiting for 4 or more months.
Reacted by Mihai, Felipe Heredia, Crai, Bluzzi, Wilco Hendriksen, Ivan Falanga Adaptive, Vlastimil Kaluža, Khokhuda, Michael Semchenko, Dmitrii Shilov and 2 more
Hello, I would like to mention that this issue makes it very difficult to use Fluent UI on a new project, because React 19 is now the default in every code generator.
Let me know if I can help with the migration.
Reacted by Mihai, Daniel Kloyber, Felipe Heredia, Crai, Daniel Di Sarli, Johannes Schickling, David Rivard, Victor Frye, Craig Saunders, Wilco Hendriksen and 18 more
Please don't get me wrong, but it's becoming a major blocker for many projects. There's a community of people eager to more the upgrade along, if only they were given some pointers on where to start or what needs solving. Keeping people in the dark doesn't do good.
For the others, here are some relevant discussions:
Hi, is there any update on this? It is becoming a big issue for us.
Reacted by Elliot Huffman, Chris Buchert, Hoàng Bảo Phú, Qiao Wang, Andreas Ellwanger, Eugene, markat1, Roxanna Meskell, Sunghun Kim, Gabriel and 15 more
There are three big issues related to React 19 support:
I just merged #33978 that fixes the second one. The fix will be available with the next release. It means that are no known runtime issues with Fluent v9 + React 19. However, peerDependencies + TS types are still a problem.
Reacted by wgorkaAtFarallon, cbuchert-lightspeed, Michael McKenzie and Mihai
Reacted by Noah McCann, wgorkaAtFarallon, cbuchert-lightspeed, Victor Frye, Michael McKenzie, Hoàng Bảo Phú, SJFW, Alessandro Pozone, Foorack / Max Faxälv and EncarnaAmoros
Reacted by David Rivard, Kryštof Matějka, Elliot Huffman and EncarnaAmoros
Oleksandr Fediashov (@layershifter) I just wanted to say thank you for putting in the effort for this, I understand there is still work to be done, but I appreciate the work that has already gone into supporting React 19. Thank you!
Reacted by wgorkaAtFarallon, cbuchert-lightspeed, Drew Hershey, Juliana Peña, Dmitrii Shilov, Victor Frye, Michael McKenzie, Eugene, Elliot Huffman, Timo Laak and 5 more
I need to upgrade to React 19 and fluent is currently stopping me, any updates of when support will be implemented?
Reacted by Daniel Guarnieri, Ingmar Ramzan, Erik Berggren, calegari-adriano, Leonie Farmer, Foorack / Max Faxälv, Sergey Makarov, murnifine, Ruslan Yurchenko, Andrew Glick and 1 more
Activity
layershifter commentedon Dec 17, 2024
FYI it's not only about relaxing
peerDependencies. There is a set of issues related to React 19 (use a tag to filter).electrocnic commentedon Dec 18, 2024
Got it.
Maybe I should open a new issue for that, but for now I first want to understand these symptoms, because maybe it is not necessary to open a new issue:
Once I update my
@types/reactpackage from18.3.17to19.0.1I can no longer use fluentUi's Components with automatic type inference:(
Parameter '_ev' implicitly has an 'any' type.)As you can see, the Component will automatically resolve to
<any>and all callback parameters will also resolve toany, even tho they are defined aswhen I control+click into them.
Here is the correct resolution of the types in the previous version (
18.3.17) of@types/react:(And I know that the types for fluentUi should not come from this package but are already included in fluentUi, right?)
Do you know why this happens, or how I could possibly workaround this issue?
Or should I remain on React 18 for the time being and not upgrade to React 19 at all for now?
Thanks in advance.
EDIT: On a second glance, this might be related to the now deprecated forwardRef from React 19, and if this was removed in the types as well, it could explain why the type inference does not work any longer if fluentUi's current version still uses forwardRefs (as is visible in my screenshots above)?
VlastimilKaluzaYsoft commentedon Jan 27, 2025
Hi,
I read in comment that there is plan to deliver this feature in this FY.
#33492 (comment)
I would like to ask what is progress on this issue and when we could test some preview?
Thanks a lot
Khokhuda commentedon Feb 13, 2025
We also got blocked with migration to React 19 because of FluentUI v9 dependency.
I am also curious about when to expect React 19 support.
Tudor Popa (@tudorpopams) mentioned in this comment that support may be added in this FY.
But it may be more convenient to start migrating to different UI kit right now, than waiting for 4 or more months.
krystofmatejka commentedon Feb 18, 2025
Hello, I would like to mention that this issue makes it very difficult to use Fluent UI on a new project, because React 19 is now the default in every code generator.
Let me know if I can help with the migration.
pd-be commentedon Mar 18, 2025
Any update on this one? Is there any ETA?
Please don't get me wrong, but it's becoming a major blocker for many projects. There's a community of people eager to more the upgrade along, if only they were given some pointers on where to start or what needs solving. Keeping people in the dark doesn't do good.
For the others, here are some relevant discussions:
layershifter commentedon Mar 18, 2025
There are three big issues related to React 19 support:
Portals issue is a huge headache, looks like the last iteration chore(react-portal): refactor portals creation #33174 is quite successful, needs additional testing in products]peerDependenciesupdate [easy to solve, just update it once these are done]markat1 commentedon Mar 21, 2025
Oleksandr Fediashov (@layershifter) okay, so what is the timeframe for these 2 bugs? any dates on when we can expect React 19 support for fluentui 9?
layershifter commentedon Mar 21, 2025
markat1 no timeframe, at least from my side. #33607 (reply in thread)
pink1903 commentedon Mar 27, 2025
leonie-farmer-kb commentedon Apr 17, 2025
Hi, is there any update on this? It is becoming a big issue for us.
wgorkaAtFarallon commentedon May 12, 2025
Hi, is there any update on this? This became a blocker for our project.
layershifter commentedon May 14, 2025
I just merged #33978 that fixes the second one. The fix will be available with the next release. It means that are no known runtime issues with Fluent v9 + React 19. However,
peerDependencies+ TS types are still a problem.nmccann commentedon May 14, 2025
Oleksandr Fediashov (@layershifter) I just wanted to say thank you for putting in the effort for this, I understand there is still work to be done, but I appreciate the work that has already gone into supporting React 19. Thank you!
erkenfelt commentedon Jun 16, 2025
I need to upgrade to React 19 and fluent is currently stopping me, any updates of when support will be implemented?
dmytrokirpa commentedon Jul 28, 2025
Marking this as a duplicate. You can follow progress in #34768.