Production Electron apps with TypeScript

+

=

Production Electron/React apps with TypeScript

Production Electron/CRA apps with TypeScript

Electron

A framework for creating native, cross-platform applications with web technologies

+

Main process

Renderer processes

"Production"?

1.

Types for increased confidence

2.

Ability to re-use code and configuration across processes

3.

Ability to easily test all code

4.

Unified logging

5.

Easy debugging

...also, CRA

"Create React App" — a modern single-page React app setup w/o configuration

A solid build setup with Webpack and Babel, with out-of-the-box support for TypeScript, Jest, ESLint, PostCSS, build-time .env configurations and more.

Demo time 🎉

Production Electron apps with TypeScript

By Aleksey Gurtovoy

Production Electron apps with TypeScript

  • 483