Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Vue/Vue3 wrappers' simpleEqual helper correctly recognize the same objects. #10896

Merged
merged 4 commits into from Apr 8, 2024

Conversation

jansiegel
Copy link
Member

Context

This PR fixes a problem where the Vue/Vue3 wrappers' simpleEqual function treated object-based config options as a circular reference, thus performing additional unneeded updates.

How has this been tested?

Added a test case.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

  1. handsontable/dev-handsontable#1777

Affected project(s):

  • handsontable
  • @handsontable/angular
  • @handsontable/react
  • @handsontable/vue
  • @handsontable/vue3

Checklist:

@jansiegel jansiegel requested a review from budnix April 5, 2024 12:38
@jansiegel jansiegel self-assigned this Apr 5, 2024
@jansiegel jansiegel merged commit 049f5cc into develop Apr 8, 2024
21 checks passed
@jansiegel jansiegel deleted the feature/dev-issue-1777 branch April 8, 2024 07:01
evanSe pushed a commit that referenced this pull request Apr 17, 2024
…the same objects. (#10896)

* Make the `simpleEqual` function recognize the same array passed twice as the same array.

* Fix the lint errors

* Add the changelog entry.

* Corrent the previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants