mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #147] [MERGED] Fix solid renderable lifecycle issues #1104
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#1104
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/147
Author: @fezproof
Created: 9/8/2025
Status: ✅ Merged
Merged: 9/8/2025
Merged by: @kommander
Base:
main← Head:fix-solid-renderable-lifecycle-issues📝 Commits (4)
5e1b899fix: destroy removed nodes on next tickbef4091chore: cleanupd6cb350Fix order of destruction to ensure children are removed first0f81e6fAdd comment to clarify change📊 Changes
7 files changed (+168 additions, -7 deletions)
View changed files
📝
packages/core/src/Renderable.ts(+2 -1)➕
packages/solid/examples/repro-empty-styled-text.tsx(+45 -0)➕
packages/solid/examples/repro-filter-list.tsx(+40 -0)➕
packages/solid/examples/repro-onSubmit.tsx(+70 -0)📝
packages/solid/package.json(+0 -4)📝
packages/solid/src/elements/text-node.ts(+6 -1)📝
packages/solid/src/reconciler.ts(+5 -1)📄 Description
Fixes issue with solid reusing old nodes in list arrangement. This should also make things more performant.
Fixes issue where parents where destroying themselves instead of their children first, leaving dangling children.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.