disable-react-devtools

Disables the React Developer Tools from your application

Usage no npm install needed!

<script type="module">
  import disableReactDevtools from 'https://cdn.skypack.dev/disable-react-devtools';
</script>

README

Disable React DevTools

🚫 A simple package that disables the React Developer Tools in production mode.

Installation

npm i --save disable-react-devtools

Usage

Disabling the React DevTools is as simple as requiring the module.

require('disable-react-devtools');

Credits

This is essentially a package around this Ryan Florence gist.

License

MIT License