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
{{ message }}
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
[QUESTION]: Is there planned support for React 19? #3412
I have a project which relies on React 19 and I want to be able to use the people picker component. Is there planned support for React 19? If so, what is the expected release window?
Thank you Cian Gibbons (@CianGibbons) for your question. MGT is currently on maintenance, prioritizing bug fixes and security issues and for now, there's no planned work to support React 19.
For anyone else who might stumble upon this issue: to make mgt-react work under React 19, all you have to do is replace the call to ReactDOM.render() inside handleTemplateRendered() in /dist/es6/Mgt.js with a call to createRoot(). Make sure to replace the old import with the new as well, like so:
Activity
Mnickii commentedon Mar 13, 2025
Thank you Cian Gibbons (@CianGibbons) for your question. MGT is currently on maintenance, prioritizing bug fixes and security issues and for now, there's no planned work to support React 19.
tobi1220 commentedon May 29, 2025
For anyone else who might stumble upon this issue: to make mgt-react work under React 19, all you have to do is replace the call to
ReactDOM.render()insidehandleTemplateRendered()in/dist/es6/Mgt.jswith a call tocreateRoot(). Make sure to replace the old import with the new as well, like so:See my PR for reference: #3449
If you use a package manager that supports patching, like Yarn or PNPM, you can do this fairly easy, e.g. (for PNPM):
/cc Cian Gibbons (@CianGibbons)
sbaechler commentedon Jun 20, 2025
Nickii Miaro (@Mnickii) Is there a successor library for mgt-react?