Skip to content

Conversation

@sidx1024
Copy link
Owner

@sidx1024 sidx1024 commented Oct 8, 2025

Circular objects weren't handled by deepEqual method provided by fast-equals. It includes circularDeepEqual method which is substantially slower but handles circular objects.

This PR adds support for selectComparator method to specify comparator (deepEqual/circularDeepEqual) for each hook so we can maintain performance for all comparisons except for those which have circular objects.

@sidx1024 sidx1024 merged commit 32c2d53 into main Oct 8, 2025
2 checks passed
@sidx1024 sidx1024 deleted the sid/circular-objects-fix branch October 8, 2025 23:17
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