Skip to content

Update dependency @vitejs/plugin-react to v4.7.0 (main) - #546

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-vitejs-plugin-react-4.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-vitejs-plugin-react-4.x

Conversation

@renovate

@renovate renovate Bot commented Aug 26, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react (source) ^4.2.0 → ^4.7.0 age confidence
@vitejs/plugin-react (source) 4.3.4 → 4.7.0 age confidence

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.7.0

Compare Source

Add HMR support for compound components (#​518)

HMR now works for compound components like this:

const Root = () => <div>Accordion Root</div>
const Item = () => <div>Accordion Item</div>

export const Accordion = { 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 errors
react({ babel: { plugins: ['babel-plugin-react-compiler'] } })
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))

v4.6.0

Compare Source

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.

v4.5.2

Compare Source

Suggest @vitejs/plugin-react-oxc if rolldown-vite is detected #​491

Emit a log which recommends @vitejs/plugin-react-oxc when rolldown-vite is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting disableOxcRecommendation: true in the plugin options.

Use optimizeDeps.rollupOptions instead of optimizeDeps.esbuildOptions for rolldown-vite #​489

This suppresses the warning about optimizeDeps.esbuildOptions being deprecated in rolldown-vite.

Add Vite 7-beta to peerDependencies range #​497

React plugins are compatible with Vite 7, this removes the warning when testing the beta.

v4.5.1

Compare Source

Add explicit semicolon in preambleCode #​485

This fixes an edge case when using HTML minifiers that strips line breaks aggressively.

v4.5.0

Compare Source

Add filter for rolldown-vite #​470

Added filter so that it is more performant when running this plugin with rolldown-powered version of Vite.

Skip HMR for JSX files with hooks #​480

This removes the HMR warning for hooks with JSX.

v4.4.1

Compare Source

Fix type issue when using moduleResolution: "node" in tsconfig #​462

v4.4.0

Compare Source

Make compatible with rolldown-vite

This plugin is now compatible with rolldown-powered version of Vite.
Note that currently the __source property value position might be incorrect. This will be fixed in the near future.


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner August 26, 2025 08:03
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 26, 2025
@renovate
renovate Bot requested a review from a team as a code owner August 26, 2025 08:03
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 26, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Aug 26, 2025
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from c8d4580 to 9dea6e2 Compare September 3, 2025 11:47
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 9dea6e2 to a9062d9 Compare September 22, 2025 13:18
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 22, 2025
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch 2 times, most recently from 1631199 to 31e86c1 Compare October 3, 2025 18:17
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 31e86c1 to 3cbc71f Compare October 14, 2025 15:35
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 3cbc71f to 179d9b8 Compare October 23, 2025 18:48
renovate-approve[bot]
renovate-approve Bot previously approved these changes Oct 23, 2025
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch 3 times, most recently from de2e6b9 to 0ed9d66 Compare November 21, 2025 19:08
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 0ed9d66 to 5f62ff4 Compare December 4, 2025 15:46
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 5f62ff4 to 0227cb5 Compare January 12, 2026 18:44
renovate-approve[bot]
renovate-approve Bot previously approved these changes Jan 12, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 0227cb5 to 33b6f89 Compare January 16, 2026 01:16
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 33b6f89 to 3698be3 Compare February 2, 2026 17:15
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 2, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 3698be3 to e9b22aa Compare February 3, 2026 17:57
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from e9b22aa to 6ba3f61 Compare February 12, 2026 12:36
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 12, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 11a05ad to a4d6ad2 Compare September 2, 2026 20:06
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from a4d6ad2 to 3ea4a3c Compare September 17, 2026 14:36
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 3ea4a3c to 9f02104 Compare September 23, 2026 18:16
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 23, 2026
@renovate
renovate Bot enabled auto-merge (squash) October 5, 2026 13:36
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch 2 times, most recently from 9fb3b68 to 9b6c2b8 Compare October 6, 2026 15:40
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 9b6c2b8 to 1bcce60 Compare October 9, 2026 15:37
renovate-approve[bot]
renovate-approve Bot previously approved these changes Oct 9, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch 3 times, most recently from fff8ccc to ed12e3b Compare October 22, 2026 17:40
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from ed12e3b to 2ff0e2a Compare October 26, 2026 15:05
renovate-approve[bot]
renovate-approve Bot previously approved these changes Oct 26, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 2ff0e2a to 1cd64bc Compare October 26, 2026 19:08
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 1cd64bc to 594968e Compare November 2, 2026 15:18
renovate-approve[bot]
renovate-approve Bot previously approved these changes Nov 2, 2026
@renovate
renovate Bot force-pushed the renovate/main-vitejs-plugin-react-4.x branch from 594968e to 92892b5 Compare November 4, 2026 21:21
renovate-approve[bot]
renovate-approve Bot previously approved these changes Nov 4, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Nov 11, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Nov 21, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants