Repository navigation
Conversation
Contributor
Changeset suggestionThe current changeset no longer matches this PR. This review contains a corrected replacement. Why: Changeset package scope does not match the affected packages confidently. Changeset bump does not match the consumer-visible impact. View the proposed changeset---
'@bomb.sh/tty': minor
---
TODO: Write changeset message (inference failed: HTTP 401: {"error":{"message":"User not found.","code":401}})Review this changeset manually If this draft is correct, react with 🚀 and Cooper will commit it to this branch. |
| @@ -0,0 +1,10 @@ | |||
| --- | |||
Contributor
There was a problem hiding this comment.
Changeset needs revision.
Changeset package scope does not match the affected packages confidently. Changeset bump does not match the consumer-visible impact.
View the proposed replacement
---
'@bomb.sh/tty': minor
---
TODO: Write changeset message (inference failed: HTTP 401: {"error":{"message":"User not found.","code":401}})
commit: |
|
Size Reduced — -0.7 KB 129.7 KB unpacked |
Contributor
Merging this PR will not alter performance
Performance Changes
Comparing Footnotes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Adds
result.info.get(id).replayas a substitute for an entire rendered element, including its descendants. Hosts can reuse its packed directives without rebuilding or repacking the subtree. Layout, pointer handling, caret placement, and transitions still run in the new render context.Removes
snapshot(). Obtain a fresh replay after each completed render;update()and rejected renders preserve existing replays. The optionalvalidated(term)wrapper rejects expired replays and unbalanced open/close directives.Assembly walks the incoming buffer once, copying fresh spans and referenced spans from the previous frame into the current runlist before execution. Element metadata remains lazy.
The renderer spec (§8.3.4) defines this feature's scope and behavior, so no separate issue is needed.
Type of change
Validation
deno task testpasses all 29 suites / 417 test steps.deno task verify,deno lint, anddeno task build:npm 0.0.0-verify.0pass.Checklist
deno task test)deno task fmt)AI-generated code disclosure