Created
July 24, 2020 21:53
-
-
Save nsantos16/3c8a190bee7707da51dc46a224d115e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
// Disable in production | |
if (process.env.NODE_ENV !== 'production') { | |
var axe = require('react-axe'); | |
axe(React, ReactDOM, 1000); | |
} | |
// ... | |
ReactDOM.render(App, document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment