Conversation
kasbah
force-pushed
the
kb/table-editor-optimization
branch
4 times, most recently
from
September 16, 2026 09:54
d215d64 to
332f287
Compare
Index tables, rows, and issues so lookups are constant time and per-row issue entries keep their identity when unchanged. Each referenced table gets its own memo so cells only react to the table they reference. Track selection and editing state as cell keys via selectors so only affected cells re-render, and memoize per-cell derived state so unchanged DOM attributes are not rewritten. Show committed field values optimistically until the row snapshot catches up or the returned promise settles; the instance editor returns the write promise so the editor can observe it.
…dations. Tables and rows are now plain snapshots of the document at validation time rather than lazy views reading the store on every access. Unchanged tables, rows, and issues keep their identity across validations so consumers can skip work for unaffected parts; the instance editor uses this to hand each table editor a stable issue list. Validation is cached per revision and re-run when the schema validates. Stores may expose `untracked` so validation, which is already tracked by revision, does not subscribe to fine-grained document reads; the API store also skips the reactive proxy while untracked.
kasbah
force-pushed
the
kb/table-editor-optimization
branch
from
September 16, 2026 13:50
332f287 to
bb377b7
Compare
kasbah
added this pull request to stack #1509
September 16, 2026 14:03
This branch was successfully deployed
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.
No description provided.