-
Notifications
You must be signed in to change notification settings - Fork 578
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
Conversation
|
size-limit report 📦
|
@@ -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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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
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
act
fromreact-dom/test-utils
toreact
Removed
Rollout strategy