Getting Started w/ Electron #5 - Decrease Startup Time
Вставка
- Опубліковано 9 лют 2025
- Todays video will show how to decrease the startup times of your electron or NodeJS apps but loading modules at later times. This is super easy to Implement for a lot of apps and could save literally seconds off startup.
🔔 JOIN THE COMMUNITY 🔔
www.youtube.co... -- Subscribe xD
----------------------------------------
-- Social Links --
Discord - / discord
GitHub - github.com/tyl...
3 days studying Electron and this is the BEST playlist ever!
Well done, fantastic teaching.
This is a really good series! It teaches you the proper way to do things without compromising security! Awesome work! Thanx a lot for sharing this!
Thanks for the series, very well made.
this is amazing, please keep going, thank you
Thanks man.
I get a lot of information / knowledge from your videos, keep It up bro,
Thank you so much! It made my app's startup time ~350ms lower
Of course. Lazy loading is a popular technique to use in the front end to save on bandwidth but has a similar effect with electron apps.
Glad you found helpful. Most packages don’t add more than a few ms but it’s still something good to know for some.
Cheers.
Thanks!!! I need more videos about Electron.
Cool, can you do a video on routing in electron in production ?
What do you mean by routing ?
@@tylerlaceby using react-router-dom with electron, I was stuck there but I found a solution which is to use HashRouter so it can work for production.
can you proceed with this series, please; hooking cloud database routings etc; you're changing our lives here
amazing tips!
great video. Next video please
Sorry another question . Do you have any advice as to how to build on windows as a Mac user ? Are there any sites or services I can use to remotely connect to a windows machine and build my electron JS app on ?
I figure a windows VM is very possible. Another option is a VPS. However I would suggest a virtual machine as you can do Linux builds as well as test performance with different configurations better.
As for services or anything I am not aware of any but I think for pyre building a vps and virtual machine are you’re best bets.
Another benefit of a vps is the ability to install everything on that machine over the cloud.
It is costlier compared to a straight virtual machine or parallels.
However if on the new silicon it could be a good idea to spend like $10 on a decent vps
Thanks for the video ; what would you advise as the best place to write images to and store for electron ?
I would recommend using the users app data folder.
hi, good tutorial, waiting for build configuration and auto update app with electron..