Skip to content

React 19 upgrade for component library#266

Closed
ricksmith130 wants to merge 8 commits intomainfrom
React-19-upgrade-for-component-library
Closed

React 19 upgrade for component library#266
ricksmith130 wants to merge 8 commits intomainfrom
React-19-upgrade-for-component-library

Conversation

@ricksmith130
Copy link

An upgrade to react 19 - this is a blocker to mfe migrations

Comment on lines -91 to -92
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this PR @ricksmith130

Do you know why we need to remove the peerDependency ranges here?

For the benefit of npm install nhsuk-react-components I'd rather we bumped the version ranges (instead of removing them) so npm can automatically install or verify you've got the correct version locally

package.json Outdated
Comment on lines 87 to 89
"@testing-library/dom": "^10.4.1",
"classnames": "^2.2.6",
"lodash": "^4.17.21"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two new packages should have been saved as devDependencies?

Thanks for spotting lodash was missing from .storybook/manager.ts

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants