GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(plugin-react): fix new refreshInclude option by ArnaudBarre · Pull Request #1543 · vitejs/vite-plugin-react

Conversation

@ArnaudBarre

@ArnaudBarre ArnaudBarre commented Nov 2, 2026

Copy link
Copy Markdown
Member

Fix mistake from #1516

Closes #1524

I copy pasted the logic, but in oxc the condition was reversed.

Actually I think going forward it's better to give priority to jsxRefreshFilter if defined to allow it to exclude some JSX files that should not be refresh (web workers)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ArnaudBarre
fix(plugin-react): fix new refreshInclude option
126167e
@ArnaudBarre ArnaudBarre self-assigned this Nov 2, 2026
@ArnaudBarre
ArnaudBarre requested a review from sapphi-red November 2, 2026 07:54
sapphi-red
sapphi-red approved these changes Nov 2, 2026
View reviewed changes
@sapphi-red
sapphi-red merged commit 22079fa into main Nov 2, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@sapphi-red
sapphi-red deleted the arnaud/fix-jsx-include branch November 2, 2026 09:04
@sapphi-red sapphi-red added the plugin: react label Nov 2, 2026
@vite-release-bot vite-release-bot Bot mentioned this pull request Nov 2, 2026
release: [email protected] #1544
Merged
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Nov 4, 2026
@renovate
Update dependency @vitejs/plugin-react to v6.2.1
a004515
| datasource | package              | from  | to    |
| ---------- | -------------------- | ----- | ----- |
| npm        | @vitejs/plugin-react | 6.1.2 | 6.2.1 |


## [v6.2.1](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#621-2026-11-02)

##### Fix `refreshInclude` and `refreshExclude` options not working ([#1543](vitejs/vite-plugin-react#1543))

Fix mistake from [#1516](vitejs/vite-plugin-react#1516)


## [v6.2.0](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#620-2026-11-02)

##### Add `refreshInclude` and `refreshExclude` options ([#1516](vitejs/vite-plugin-react#1516))

Add `refreshInclude` and `refreshExclude` options to skip fast refresh for certain files that won't run in the browser.

##### Expand `oxc-transform-react` peer dependency range ([#1540](vitejs/vite-plugin-react#1540))

The peer dependency version range for `oxc-transform-react` was expanded from `^0.152.0` to `>=0.152.0 <0.157.0`.

##### Expand `@rolldown/plugin-babel` peer dependency range ([#1541](vitejs/vite-plugin-react#1541))

The peer dependency version range for `@rolldown/plugin-babel` was expanded from `^0.1.7 || ^0.2.0` to `^0.1.7 || ^0.2.0 || ^0.3.0`.
This was referenced Nov 6, 2026
Lockfile maintenance knu/page-info#289
Merged
Lockfile maintenance knu/tabsquad#99
Merged
@odinr odinr mentioned this pull request Nov 9, 2026
chore(deps): bump @vitejs/plugin-react from 6.1.2 to 6.2.1 equinor/fusion-framework#5967
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sapphi-red sapphi-red sapphi-red approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@ArnaudBarre ArnaudBarre

Labels

plugin: react

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ArnaudBarre @sapphi-red
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.