samedi 28 mars 2020

How to disconnect React and Redux from it's `devtools` in production?

As its name suggests devtools should be visible or accessible only during development and not in production. I don't want my end users playing with the Redux and React state and dispatcher or seeing what's going on under the hood.

Is there a way to hide Redux and React Devtools or disconnect it in the production build?

Edit 1: Extended the question for React as well




Aucun commentaire:

Enregistrer un commentaire