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
React 19 released on 25 April 2024, bringing a fleet of new features to the framework, whilst also deprecated a variety of functions. As PulpUI has already been upgraded to React@18.3.1, this allows the deprecated functions to be make visible for refactor. With the JavaScript eco-system rapidly changing and the introduction of PatternFly 6, migrating to the latest React version will provide a range of performance & security benefits, avoiding future issues when support drops for React 18.
Tasks
Understand current dependency requirements for React and peer dependencies.
Update Package Files: Bump react, react-dom, @types/react and @types/react-dom to 19.2.8
Deploy react/19/migration-recipe codemod to convert deprecated functions to new standards.
Deploy types-react-codemod to convert deprecated types to new standards.
Run Cypress tests & run UI build steps
Document minor issues found for future attention within Github Issues.
Packages to be updated
react-markdown
Packages of concern
file-saver
compare-versions
Found Blockers (To be updated throughout work)
@patternfly packages require upgrade to 6.6.0 to support React 19.
Summary
React 19 released on 25 April 2024, bringing a fleet of new features to the framework, whilst also deprecated a variety of functions. As PulpUI has already been upgraded to
React@18.3.1, this allows the deprecated functions to be make visible for refactor. With the JavaScript eco-system rapidly changing and the introduction of PatternFly 6, migrating to the latest React version will provide a range of performance & security benefits, avoiding future issues when support drops for React 18.Tasks
react,react-dom,@types/reactand@types/react-domto19.2.8react/19/migration-recipecodemod to convert deprecated functions to new standards.types-react-codemodto convert deprecated types to new standards.Packages to be updated
react-markdownPackages of concern
file-savercompare-versionsFound Blockers (To be updated throughout work)
@patternflypackages require upgrade to6.6.0to support React 19.References