React developer tools in production mode

after the react project is packaged, the browser can still change the props,state data using react developer tools,. Is this too unsafe? How to solve it?

it has been found that if the data uses a Map object, it cannot be modified.

Jul.06,2021

in the code in the production environment, add this line of code before react loads:

  

Brother found this closed yet? I also encountered the same problem

Menu