Hello there,
Is the server working properly? I’ve stumbled upon three exercises for which the render window crashes. Apparently, this happens when pressing buttons that call setState() methods. After spending way too long wondering why it wasn’t working, I decided to open a few different exercises and paste the solutions provided by fCC, and none of them worked: the render window always crashes, but the tests do pass.
The exercises are:
https://www.freecodecamp.org/learn/front-end-development-libraries/react/create-a-controlled-form
https://www.freecodecamp.org/learn/front-end-development-libraries/react/write-a-simple-counter
https://www.freecodecamp.org/learn/front-end-development-libraries/react/use-state-to-toggle-an-element
lasjorg
September 25, 2023, 9:55pm
2
I opened an issue for it. Didn’t see the post until now.
opened 09:44PM - 25 Sep 23 UTC
type: bug
status: discussing
scope: curriculum
### Describe the Issue
I only checked a few but it seems like anything with a… state update (inputs, buttons, etc.) throws this. You can pass the challenges with the correct code but any interaction with the page that triggers a state update seems to throw this error.
### Affected Page
https://www.freecodecamp.org/learn/front-end-development-libraries/react/write-a-simple-counter https://www.freecodecamp.org/learn/front-end-development-libraries/react/create-a-controlled-input https://www.freecodecamp.org/learn/front-end-development-libraries/react/use-advanced-javascript-in-react-render-method
### Your code
```
```
### Expected behavior
Valid passing code shouldn't crash the challenge page when interacting with the rendered page.
### Screenshots
_No response_
### System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
### Additional context
Just saw this as well. Forum: https://forum.freecodecamp.org/t/fcc-solutions-are-crashing-the-render-frame/640546
Edit: There is a PR in the works. So hopefully it is be fixed soon.
1 Like