The react files I created recently stopped working. I've done a lot of research and finally I have a solution. Probably not the only solution. I have a lot of different solutions. I'm just gonna show you one. If there is a different solution that you know, mention it in the comments.
Enter the 'Users' file in your own user file. And delete the node_modules file inside this file. Ninety percent of the problem will be solved. This is because the react library is constantly updated.