Leaving electron.js to the past.

akashpattnaik

Akash Pattnaik

Posted on January 16, 2022

Leaving electron.js to the past.

So, I recently started using tauri because electron.js was no longer working on my pc... I was amazed to see the release build size of the tauri app.
It was way smaller than expected.

Size Comparison

Electron.JS Tauri
62.5mb 4.32mb

These are the sized of installers for windows. The project was just a basic hello world displaying page.

So as you can see, Tauri is the next desktop framework for webdevs... Electron.JS is nothing compared to Tauri.
Tauri by default provides various templates for new projects like vanilla.js, react, svelte.js, vue.js and a lot more in the future. The tauri devs are also working on bringing Tauri to Android and IOS.

Tauri depends upon Microsoft Edge Runtime2 and not bulky core apps like Electron.JS depends on chromium.

Getting started with Tauri

This is for windows only, get your OS instructions on tauri.studio

This will make your ready for developing in tauri...

For Further Understanding, Check Out The Docs

💖 💪 🙅 🚩
akashpattnaik
Akash Pattnaik

Posted on January 16, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Leaving electron.js to the past.
javascript Leaving electron.js to the past.

January 16, 2022