Skip to content

React refresh component swap - #48

Draft
aidenybai wants to merge 1 commit into
mainfrom
cursor/react-refresh-component-swap-fbd9
Draft

React refresh component swap#48
aidenybai wants to merge 1 commit into
mainfrom
cursor/react-refresh-component-swap-fbd9

Conversation

@aidenybai

Copy link
Copy Markdown
Owner

Adds support for HMR updates when component references change, preserving state by aliasing component families.

This enables more robust HMR scenarios where the component's function reference might change (e.g., due to wrapper functions or dynamic imports), but the underlying logical component remains the same, allowing state to be preserved across updates.


Open in Cursor Open in Web

@cursor

cursor Bot commented Jan 7, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@changeset-bot

changeset-bot Bot commented Jan 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5973dda

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Jan 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
bippy Ready Ready Preview, Comment Jan 7, 2026 7:48am

@pkg-pr-new

pkg-pr-new Bot commented Jan 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/bippy@48

commit: 5973dda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants