-
Notifications
You must be signed in to change notification settings - Fork 218
Bump react and @types/react in /extensions/ql-vscode #4131
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
Bump react and @types/react in /extensions/ql-vscode #4131
Conversation
b63aa93 to
dbd31f0
Compare
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.1.1 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.1.1/packages/react) Updates `@types/react` from 18.3.12 to 19.1.12 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.1.1 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-version: 19.1.12 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dbd31f0 to
a19269f
Compare
c46ba1e to
b3d48e3
Compare
| ); | ||
|
|
||
| const ref = useRef<HTMLElement>(); | ||
| const ref = useRef<HTMLElement>(undefined); |
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.
useRef now requires a default value, and the type it returns automatically becomes T | undefined (assuming default value is undefined).
I've tried to standardise on undefined instead of null, but no particular reason for that other than being consistent.
And all downstream components now have to handle the type being T | undefined which is slightly annoying.
…/multi-70832524d6
|
Superceded by #4237 |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
reactfrom 18.3.1 to 19.1.1Release notes
Sourced from react's releases.
... (truncated)
Changelog
Sourced from react's changelog.
... (truncated)
Commits
87e33caSet release versions to 19.1.15a1eb6ffix: rename bottom stack frame (#33680)4a9df08Stop creating Owner Stacks if many have been created recently (#32529)b630219[refactor] move isValidElementType to react-is (#32518)1a19170[refactor] Add element type for Activity (#32499)6aa8254Add ref to Fragment (#32465)e0fe347[flags] remove enableOwnerStacks (#32426)70f1d76[flow] Eliminate usage of global React types in ReactNativeTypes.js (#32330)0d9834cbuild: add support to the rollup build for building typescript packages (#32393)a53da6aAdd useSwipeTransition Hook Behind Experimental Flag (#32373)Updates
@types/reactfrom 18.3.12 to 19.1.12Commits
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)