mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #446] [MERGED] feat(react): add React Refresh support #1322
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1322
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/446
Author: @remorses
Created: 12/27/2025
Status: ✅ Merged
Merged: 12/27/2025
Merged by: @msmps
Base:
main← Head:add-react-refresh-support📝 Commits (3)
7572784feat(react): add React Refresh support799b307use React.version2274d91Merge branch 'main' into add-react-refresh-support📊 Changes
1 file changed (+7 additions, -0 deletions)
View changed files
📝
packages/react/src/reconciler/reconciler.ts(+7 -0)📄 Description
Add
injectIntoDevTools()call to enable React Refresh (hot reloading) for apps using @opentui/react.This registers
scheduleRefreshandsetRefreshHandlerfunctions thatreact-refresh/runtimeuses to trigger component updates in-place without remounting.Example usage in another reconciler:
github.com/pmndrs/react-nil@25b9aaab94/src/index.tsx (L111)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.