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 async act warning #581

Merged
merged 4 commits into from
Aug 19, 2019
Merged

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Aug 9, 2019

followup to #578

threepointone and others added 2 commits August 6, 2019 12:10
DO NOT MERGE without reading.

This PR updates react to the new rc, and uses the new async act to silence a warning in ReactFinalForm.test.js

Further, regarding Field.test.js, I rewrote `sleep` with `act`, and discovered some issues, and disabled some tests -
'should use isEqual to calculate dirty/pristine': This test goes into an infinite loop; it appears act() has caught an actual bug here.
'should `formatOnBlur` most updated value' and 'should pass multiple through to custom components' appear to be breaking some assumptions for react-dom, and should probably be fixed.

I've included the warning messages that show for these warnings too.
@codecov
Copy link

codecov bot commented Aug 9, 2019

Codecov Report

Merging #581 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #581   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          16     16           
  Lines         233    233           
  Branches       57     57           
=====================================
  Hits          233    233

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 1f355f0...e210cb4. Read the comment docs.

@Andarist
Copy link
Contributor Author

I've noticed that you have broken my PR by merging master to it, so I've fixed it by merging master to it

@erikras erikras merged commit 047c79d into final-form:master Aug 19, 2019
@Andarist Andarist deleted the fix-async-act-warning branch August 20, 2019 07:37
@lock
Copy link

lock bot commented Sep 19, 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 Sep 19, 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.

None yet

3 participants