Skip to content

aomader/electron-es6-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-es6-react

A simple boilerplate app to demonstrate how to use ES6 and React with Electron. It uses Babel to automatically transpile ES6 and JSX code, without depending on any package manager besides npm.

How?

The main entry point is boostrapper.js, which registers Babel and loads the real entry point main.js. This is necessary to allow main.js to make use of Babel's features.

The renderer entry point index.html does basically the same, but loads the views/main.jsx component and renders it into the body.

Installation

git clone https://github.com/b52/electron-es6-react.git
cd electron-es6-react
npm install
electron .

About

Minimal demonstration how to use React and ES6 with Electron.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7