[PR #429] [MERGED] export flushSync from react package #1313

Closed
opened 2026-03-14 09:30:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/429
Author: @remorses
Created: 12/19/2025
Status: Merged
Merged: 12/19/2025
Merged by: @msmps

Base: mainHead: export-flushsync


📝 Commits (1)

  • 81cfcdb export flushSync from react package

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 packages/react/src/reconciler/reconciler.ts (+2 -0)
📝 packages/react/src/reconciler/renderer.ts (+3 -1)

📄 Description

Exports flushSync from @opentui/react so users can force synchronous updates in concurrent mode.

Since this is a custom renderer, flushSync from react-dom isn't available, so it needs to be exported from the reconciler.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/429 **Author:** [@remorses](https://github.com/remorses) **Created:** 12/19/2025 **Status:** ✅ Merged **Merged:** 12/19/2025 **Merged by:** [@msmps](https://github.com/msmps) **Base:** `main` ← **Head:** `export-flushsync` --- ### 📝 Commits (1) - [`81cfcdb`](https://github.com/anomalyco/opentui/commit/81cfcdbd2dd3f30f6fcc1edf7376d976a73d50ae) export flushSync from react package ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/react/src/reconciler/reconciler.ts` (+2 -0) 📝 `packages/react/src/reconciler/renderer.ts` (+3 -1) </details> ### 📄 Description Exports `flushSync` from `@opentui/react` so users can force synchronous updates in concurrent mode. Since this is a custom renderer, `flushSync` from `react-dom` isn't available, so it needs to be exported from the reconciler. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:30:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1313
No description provided.