Include final retain in tree deltas - #27809
Conversation
…ug with last new line
|
Hi! Thank you for opening this PR. Want me to review it? Based on the diff (488 lines, 12 files), I've queued these reviewers:
How this works
|
## Description While authoring #27809 I had to make some assumptions about deltas, which were undocumented. This fills in the missing documentation.
|
wait for #27824 to merge |
Bundle size comparisonBase commit: Notable changesNo bundles changed by ≥ 500 bytes parsed. Per-bundle deltas
|
| } | ||
|
|
||
| // Fixup required new line: quill requires one at the end, so we add an extra if needed. | ||
| // This simple deletes the old one if there was one, then adds a new one if needed. |
There was a problem hiding this comment.
| // This simple deletes the old one if there was one, then adds a new one if needed. | |
| // This simply deletes the old one if there was one, then adds a new one if needed. |
| // This hits an edge case in the quill integration since quill requires such a trailing line end, | ||
| // so our integration replaces its extra one it had to add to support will with the real one added by this change. |
There was a problem hiding this comment.
There are some typos here.
Josmithr
left a comment
There was a problem hiding this comment.
Left a couple of comments for docs typos. Otherwise, looks good to me.
Description
Previously our array node deltas were not required to include the final retain. This is now alwayse included.
Addationally handling of the extra new line required to make quill a happe is now more robust, fixing a buig where remote copllaborators should end up with extra new lines.
Reviewer Guidance
The review process is outlined on this wiki page.