You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Issue #1485 missed this line. This appears to only affect projects that decrement the session counter with this.setState(state => {...}) and not with this.setState(newState) (see examples for React 16 (passes break countdown reaches zero test), 17 (passes), and 18 (same code, but fails), current post (fails) in the fCC forums, and this project (passes) from the forums that uses the newState method). From the rest of the fix, it seems that this line was inadvertently left behind.
Deleting the line in question and rebuilding the bundle fixed the problem locally for all five (all pass the test, as expected) of the above referenced projects.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue #1485 missed this line. This appears to only affect projects that decrement the session counter with
this.setState(state => {...})
and not withthis.setState(newState)
(see examples for React 16 (passes break countdown reaches zero test), 17 (passes), and 18 (same code, but fails), current post (fails) in the fCC forums, and this project (passes) from the forums that uses thenewState
method). From the rest of the fix, it seems that this line was inadvertently left behind.Deleting the line in question and rebuilding the bundle fixed the problem locally for all five (all pass the test, as expected) of the above referenced projects.
The text was updated successfully, but these errors were encountered: