Skip to content

Only update rows when they have changes, and not whenever any part of the datasource changes#284

Merged
radubrehar merged 6 commits intomasterfrom
enhance/data-layer
Jan 30, 2026
Merged

Only update rows when they have changes, and not whenever any part of the datasource changes#284
radubrehar merged 6 commits intomasterfrom
enhance/data-layer

Conversation

@radubrehar
Copy link
Copy Markdown
Contributor

@radubrehar radubrehar commented Jan 30, 2026

Note

Medium Risk
Changes core DataSource row update notification semantics and adds deep-equality comparisons, which could impact rendering correctness/performance and CI behavior due to auto-pushing baseline files.

Overview
Improves row-level update behavior in DataSource by introducing a RowInfoStore diffing mechanism that deep-compares rowInfo objects and only notifies subscribed row indices when their rowInfo meaningfully changes (instead of on any dataArray update).

Adds CI-managed performance baselines: introduces examples/perf-baselines.ci.json plus a CLI (examples/scripts/perf-baseline.js) and npm scripts to manage baselines, and updates the GitHub Actions test workflow to auto-commit baseline updates after runs.

Also updates example/test harnesses (e.g. huge-updates.page.tsx update controls, additional columns/fields, and a small Playwright timeout bump) to better exercise/validate the new update behavior.

Written by Cursor Bugbot for commit 338bdf6. This will update automatically on new commits. Configure here.

@radubrehar radubrehar merged commit 27c897a into master Jan 30, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant