Skip to content

Instantly share code, notes, and snippets.

@mrloop
Created September 2, 2020 03:28
Show Gist options
  • Save mrloop/37889e1604118c63298d9c773c2610f1 to your computer and use it in GitHub Desktop.
Save mrloop/37889e1604118c63298d9c773c2610f1 to your computer and use it in GitHub Desktop.
if (document.isBrowserAction) {
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment