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...

КОМЕНТАРІ • 23

  • @rf122
    @rf122 Рік тому +2

    3 days studying Electron and this is the BEST playlist ever!
    Well done, fantastic teaching.

  • @MRAMetharam
    @MRAMetharam 2 роки тому +2

    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!

  • @edge-rps
    @edge-rps Рік тому +1

    Thanks for the series, very well made.

  • @sidahmedmehani8173
    @sidahmedmehani8173 3 роки тому +4

    this is amazing, please keep going, thank you

  • @sinnick007
    @sinnick007 3 роки тому +2

    I get a lot of information / knowledge from your videos, keep It up bro,

  • @HAKANKOKCU
    @HAKANKOKCU 2 роки тому +2

    Thank you so much! It made my app's startup time ~350ms lower

    • @tylerlaceby
      @tylerlaceby  2 роки тому +1

      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.

  • @isaacmartinez3596
    @isaacmartinez3596 3 роки тому +1

    Thanks!!! I need more videos about Electron.

  • @oussamasethoum2755
    @oussamasethoum2755 2 роки тому +1

    Cool, can you do a video on routing in electron in production ?

    • @tylerlaceby
      @tylerlaceby  2 роки тому

      What do you mean by routing ?

    • @oussamasethoum2755
      @oussamasethoum2755 2 роки тому

      @@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.

  • @raymondmichael4987
    @raymondmichael4987 3 роки тому +6

    can you proceed with this series, please; hooking cloud database routings etc; you're changing our lives here

  • @muhammadyasser1987
    @muhammadyasser1987 3 роки тому +1

    amazing tips!

  • @angelbelaunde9704
    @angelbelaunde9704 3 роки тому +1

    great video. Next video please

  • @RatherBeCancelledThanHandled
    @RatherBeCancelledThanHandled 3 роки тому +1

    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 ?

    • @tylerlaceby
      @tylerlaceby  3 роки тому

      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.

    • @tylerlaceby
      @tylerlaceby  3 роки тому

      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

  • @RatherBeCancelledThanHandled
    @RatherBeCancelledThanHandled 3 роки тому +1

    Thanks for the video ; what would you advise as the best place to write images to and store for electron ?

    • @tylerlaceby
      @tylerlaceby  3 роки тому +1

      I would recommend using the users app data folder.

  • @JY-xv7ic
    @JY-xv7ic 3 роки тому +1

    hi, good tutorial, waiting for build configuration and auto update app with electron..