Created
July 24, 2020 21:53
-
-
Save nsantos16/ff2d9eb40be4541ba9af577c0dd70e6f 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