Skip to content

build(deps-dev): Bump @vitejs/plugin-react from 4.5.2 to 4.7.0 - #164

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0
Closed

build(deps-dev): Bump @vitejs/plugin-react from 4.5.2 to 4.7.0#164
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJul 21, 2025

Copy link
Copy Markdown
Contributor

Bumps @vitejs/plugin-react from 4.5.2 to 4.7.0.

Release notes

Sourced from @​vitejs/plugin-react's releases.

plugin-react@4.7.0

Add HMR support for compound components (#518)

HMR now works for compound components like this:

constRoot=()=><div>Accordion Root</div>constItem=()=><div>Accordion Item</div>exportconstAccordion={ Root, Item }

Return Plugin[] instead of PluginOption[] (#537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errorsreact({babel: {plugins: ['babel-plugin-react-compiler']}}).map(p=>({ ...p,applyToEnvironment: e=>e.name==='client'}))

plugin-react@4.6.0

Add raw Rolldown support

This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.

Changelog

Sourced from @​vitejs/plugin-react's changelog.

4.7.0 (2025-07-18)

Add HMR support for compound components (#518)

HMR now works for compound components like this:

constRoot=()=><div>Accordion Root</div>constItem=()=><div>Accordion Item</div>exportconstAccordion={ Root, Item }

Return Plugin[] instead of PluginOption[] (#537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errorsreact({babel: {plugins: ['babel-plugin-react-compiler']}}).map(p=>({ ...p,applyToEnvironment: e=>e.name==='client'}))

4.6.0 (2025-06-23)

Add raw Rolldown support

This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.5.2 to 4.7.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.7.0/packages/plugin-react)
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-version: 4.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 21, 2025
@dependabot
dependabotBot requested a review from naps62 as a code ownerJuly 21, 2025 11:23
@vercel

vercelBot commented Jul 21, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
ethui-explorer✅ Ready (Inspect)Visit Preview💬 Add feedbackJul 21, 2025 11:26am

@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 21, 2025
@dependabot@github

dependabotBot commented on behalf of githubAug 11, 2025

Copy link
Copy Markdown
ContributorAuthor

Superseded by #200.

@dependabotdependabotBot closed this Aug 11, 2025
@dependabot
dependabotBot deleted the dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0 branch August 11, 2025 15:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants