Skip to content

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

Merged
erikras merged 1 commit into
final-form:masterfrom
Andarist:fix/inline-is-equal-infinite-loop
Sep 25, 2019
Merged

Fix issue with inline isEqual causing an infinite rerender loop#603
erikras merged 1 commit into
final-form:masterfrom
Andarist:fix/inline-is-equal-infinite-loop

Conversation

@Andarist

Copy link
Copy Markdown
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

codecov Bot commented Sep 12, 2019

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

@erikras friendly 🏓

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

lock Bot commented Oct 25, 2019

Copy link
Copy Markdown

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

erikras commented Nov 18, 2019

Copy link
Copy Markdown
Member

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