Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update react, react-dom, testing-library #4646

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Jun 5, 2024

Update react, react-dom, @testing-library and corresponding @types/* dependencies to the latest version. This will only update our internal dependencies, not the dependencies that we expect from downstream users.

Changelog

New

Changed

  • Move act from react-dom/test-utils to react
  • Update react, react-dom
  • Update testing-library
  • Update types

Removed

Rollout strategy

  • None; if selected, include a brief description as to why

Copy link

changeset-bot bot commented Jun 5, 2024

⚠️ No Changeset found

Latest commit: a284fe7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@joshblack joshblack added the skip changeset This change does not need a changelog label Jun 5, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-4646 June 5, 2024 20:55 Inactive
Copy link
Contributor

github-actions bot commented Jun 5, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 89.43 KB (0%)
packages/react/dist/browser.umd.js 89.64 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-4646 June 5, 2024 21:09 Inactive
@@ -118,7 +118,7 @@ const InlineAutocomplete = ({
const inputProps = useFormControlForwardedProps(externalInputProps)

const inputRef = useRef<HTMLInputElement & HTMLTextAreaElement>(null)
useRefObjectAsForwardedRef(children.ref ?? noop, inputRef)
useRefObjectAsForwardedRef(children.ref && typeof children.ref !== 'string' ? children.ref : noop, inputRef)
Copy link
Member

Choose a reason for hiding this comment

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

The string comparison seems like a bonus here, did this show up as validation error with the new version?

Copy link
Member Author

Choose a reason for hiding this comment

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

@siddharthkp yeah! Just showed up as a TS error

Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Left 1 clarifying comment, everything else looks good!

Approving in advance

@joshblack joshblack added this pull request to the merge queue Jun 6, 2024
Merged via the queue into main with commit d876224 Jun 6, 2024
30 checks passed
@joshblack joshblack deleted the chore/update-react-18.3 branch June 6, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changeset This change does not need a changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants