Open gruyaume opened 11 months ago
It seems like this upgrade broke a few libraries:
Let's see if merging #967 will help with that
We'll also need a new npm release to leverage the changes
I know, GH actions have been quite slow to build, so it slowed down merging the dependency PRs.
@gruyaume Version 0.47.1 is released with updated dependencies, including "@types/react": "18.2.28"
.
We used to have issues with incompatible versions of types/react coming from different dependencies, so we ended up enforcing resolution of a single version via resolutions
in package.json.
If you are using types/react in your project directly, maybe you need to do something similar, to make sure all dependencies use the exact same version of types.
Overview
After upgrading from @types/react 18.2.21 to 18.2.22, we are getting build errors of the type
is not a valid JSX element type
for Canonical's React components. For example:You can look at this PR from renovate that tries to upgrade the package version and the corresponding CI build error: