0

I have noticed something about react recently. There are 3 react projects that I am working on. Everything is going well, but the problem is, I can't update new files that I just created in the project.

I am using Sanity.io in one of them and I have been trying to save the new components I just created but it's not working.

Initially I thought it had something to do with my codes, but I was surprised to experience it again in a MERN stack project I am working on. I can't save any new file I create.

Now there's another project I'm working on using Redux toolkit, I'm also experience the same issue.

I am using VS Code and I have reloaded the editor several times and its still not working.

At this point I assumed it was a VS code settings issue, so I switched one of the projects to Atom, and still the same thing.

What could be the cause of this? Is there a new feature or update in react that I don't know of? Or is it a file structure issue? I'm new to React so I don't know much.

Note, I didn't add codes to this question since I feel it much to do with my know of React in general than my codes.

I will appreciate every assistance I can get.

  • I'm not sure what you mean by "can't update". Does it say "permission error"? Or does it just show you an older version, even though the new content can be seen in the file? – qrsngky Feb 11 '23 at 08:04
  • The problem is, I can't save my work. And this is happening with the new files I just created in the project. But if I update any of the old files or components I created, It will save. I can't find any permission error anywhere. I just can't save my work in new files and this is happening in the 3 projects I am working on and with 2 different editors (Aton and VScode). – Akan Patrick Feb 11 '23 at 10:13

0 Answers0