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…


This content originally appeared on DEV Community and was authored by Akash Pattanaik

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


This content originally appeared on DEV Community and was authored by Akash Pattanaik


Print Share Comment Cite Upload Translate Updates
APA

Akash Pattanaik | Sciencx (2022-01-16T03:32:05+00:00) Leaving electron.js to the past.. Retrieved from https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/

MLA
" » Leaving electron.js to the past.." Akash Pattanaik | Sciencx - Sunday January 16, 2022, https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/
HARVARD
Akash Pattanaik | Sciencx Sunday January 16, 2022 » Leaving electron.js to the past.., viewed ,<https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/>
VANCOUVER
Akash Pattanaik | Sciencx - » Leaving electron.js to the past.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/
CHICAGO
" » Leaving electron.js to the past.." Akash Pattanaik | Sciencx - Accessed . https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/
IEEE
" » Leaving electron.js to the past.." Akash Pattanaik | Sciencx [Online]. Available: https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/. [Accessed: ]
rf:citation
» Leaving electron.js to the past. | Akash Pattanaik | Sciencx | https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.