talira

Electron React Boilerplate

A starter project for cross-platform desktop apps built with Electron and React.

open sourceMITfree

Electron React Boilerplate is a starter project you clone to build a cross-platform desktop app with Electron and React, set up with React Router, electron-vite and React Fast Refresh. It has scripts to run the app in development and to package it for production on the local platform.

Problems it solves

  • start a desktop app with Electron and React without setting up the build myself
  • package a React desktop app for macOS, Windows and Linux
  • get hot reload while developing an Electron app with React

Features

  • Electron and React with React Router
  • electron-vite builds with React Fast Refresh
  • scripts to run in development and package for production

Limitations

  • Needs Node.js 24 or newer and npm 10 or newer1