Created
January 5, 2021 12:22
-
-
Save thatisuday/62e74921ab1dc33f93e9bb0250d3d09a to your computer and use it in GitHub Desktop.
electron-webpack renderer entrypoint.
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'; | |
// import entry component | |
import Entry from './entry'; | |
// render `Entry` component | |
ReactDOM.render( | |
<Entry name='React'/>, | |
document.getElementById( 'app' ), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment