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

Fix issue with inline isEqual causing an infinite rerender loop #603

Merged

Conversation

Andarist
Copy link
Contributor

fixes #517

The same thing still happens for defaultValue & initialValue - but to fix those you'd have to decide what should happen when they change (IMHO nothing should happen, only first values should get registered).

@Andarist Andarist force-pushed the fix/inline-is-equal-infinite-loop branch from 45240e5 to 5056cf9 Compare September 12, 2019 08:23
@codecov
Copy link

codecov bot commented Sep 12, 2019

Codecov Report

Merging #603 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #603   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          17     17           
  Lines         248    251    +3     
  Branches       57     58    +1     
=====================================
+ Hits          248    251    +3
Impacted Files Coverage Δ
src/useField.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3add0f3...5056cf9. Read the comment docs.

@Andarist
Copy link
Contributor Author

@erikras friendly 🏓

@erikras erikras merged commit 692f1d1 into final-form:master Sep 25, 2019
@lock
Copy link

lock bot commented Oct 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2019
@erikras
Copy link
Member

erikras commented Nov 18, 2019

Published in v6.3.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite Loop when isEqual is updated
2 participants