im trying to create a very lightweight react.js / electron project, this example project looks like it would work, and you'd think it would display the react app.js text from this file:
https://github.com/achekulaev/minimal-electron-react-app/blob/master/src/app.js
const React = require('react');
const ReactDOM = require('react-dom');
class App extends React.Component {
render () {
return (
<div><h1>Hello, React in Electron!</h1></div>
)
}
}
// Need to include render here for Babel to transcript JSX
ReactDOM.render(<App />, document.getElementById('root'));
but fi you git clone, npm i, and npm start, the react portion is empty and does not display anything

ive removed all the babel stuff and tried but still the react text does not get displayed, is there something stopping react from being used? everything looks to be in order so im unsure whats wrong here
im trying to create a very lightweight react.js / electron project, this example project looks like it would work, and you'd think it would display the react app.js text from this file:
https://github.com/achekulaev/minimal-electron-react-app/blob/master/src/app.js
but fi you git clone, npm i, and npm start, the react portion is empty and does not display anything

ive removed all the babel stuff and tried but still the react text does not get displayed, is there something stopping react from being used? everything looks to be in order so im unsure whats wrong here