Skip to content

Fix isEqual stack overflow on circular references#237

Merged
laurent86 merged 1 commit intomasterfrom
feat/react-19-migration
Mar 20, 2026
Merged

Fix isEqual stack overflow on circular references#237
laurent86 merged 1 commit intomasterfrom
feat/react-19-migration

Conversation

@laurent86
Copy link
Contributor

Add seen Set to track visited objects during recursive comparison. Prevents RangeError when Table.tsx memo comparator encounters circular references in memoData (e.g. React elements, DOM refs, compiler cache).

PR Template

You can delete this markup if it doesn't apply to this PR

How to choose a release version?

From semver
Given a version number MAJOR.MINOR.PATCH:

Version Changes
MAJOR incompatible API changes
MINOR add functionality (backwards-compatible)
PATCH bug fixes (backwards-compatible)

If this PR is not for a major version change / does not introduce breaking changes, you can discard this template.
You can remove any unapplicable section if it doesn't apply to your introduced changes.

Breaking changes 💥

  • First change
  • Second change
  • ...

Migration guide from [previous version] 📋

Enums

In this version, all deprecated enums from [previous version] have been removed. The following table shows the equivalent new field for all removed fields:

Removed New
OldEnum NewEnum (optional)

When upgrading to [new version], simply import and use the new enums instead of the old ones (the props of the components is still named the same).

Deprecated Enums

The following emums have been deprecated, and will be removed in the next major version.

Deprecated New
OldEnum NewEnum (optional)

Props

In this version, all deprecated props from [previous version] have been removed. The following table shows the equivalent new field for all removed fields:

Prop Component Replacement
oldProp Icon newProp (optional)

The following props have been deprecated, and will be removed in the next major version.

Prop Component Replacement
oldProp Icon newProp (optional)

Add seen Set to track visited objects during recursive comparison.
Prevents RangeError when Table.tsx memo comparator encounters circular
references in memoData (e.g. React elements, DOM refs, compiler cache).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@laurent86 laurent86 merged commit e24af4f into master Mar 20, 2026
@laurent86 laurent86 deleted the feat/react-19-migration branch March 20, 2026 16:32
@laurent86 laurent86 restored the feat/react-19-migration branch March 20, 2026 16:39
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.

2 participants