Skip to content

Conversation

@pavelglac
Copy link
Contributor

@pavelglac pavelglac commented Nov 27, 2025

  1. Fix the issue when items are removed from the end of array
  2. Remove nodeDiffs from optimistic update and on read transform it to regular (to changes

This PR removes nodeDiff from SerializedHistory. It was causing weird behavior in devtools when the tool was not able to display array changes because they are of type ObjectDifference.

It is not necessary to have changes and nodiffs for developers. We can transform nodediffs to the same (at least very similar) changes we are using for regular updates. This also simplify the logic from stripping data from history.

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

📊 Benchmark Analysis Report

No significant performance changes detected


Threshold: 5% change


Updated: 2025-11-28T01:18:44.517Z

@pavelglac pavelglac merged commit 1cfd45e into main Nov 28, 2025
6 checks passed
@pavelglac pavelglac deleted the user/pavelglac/fix-optimistic-updates-with-array-changes branch November 28, 2025 10:22
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.

3 participants