Electron Course - Code Desktop Applications (inc. React and Typescript)

  Рет қаралды 170,502

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 91
@bugraotken
@bugraotken 14 күн бұрын
I really love using Electron at my own projects and using it with react + vite + ts for a long time. But in this video I have seen that I got so many things I haven't used or seen or heard before. It was the best Electron tutorial I have ever seen on the internet so far. Thank you Niklas!
@red_dog_
@red_dog_ Ай бұрын
i liked how he showed us the final app size so we already know where we're going and what we're building before we dive into the tutorial 😁👌👌
@Avinashjoshi1003
@Avinashjoshi1003 2 ай бұрын
Thanks, FreeCodeCamp Team, that I want from long back. ❤
@BennyTwinny
@BennyTwinny Ай бұрын
Basically thank you for the video. basically covered good topics. basically, it will just get better from here. so basically, in the beginning I enjoyed the video but after a while it became a waiting game for basically.
@kashishkavi8416
@kashishkavi8416 2 ай бұрын
Finally, exactly what I was waiting for
@srineeshsalur524
@srineeshsalur524 2 ай бұрын
For anyone facing issues in DX improvements section 31:29 for me with setting up dev section after the setup run the command: npm install --save-dev cross-env and then run npm run transpile:electron
@hamtaroyt
@hamtaroyt 2 ай бұрын
Hey, would you know what I should do when I get an error with running the `dev:electron`? I am getting an error saying the script `transpile:electron` is not does not exist and if I was supposed to run the script with the exact same name. I am not sure how I can fix this as it doesn't seem to be running.
@alexeyfilippov42
@alexeyfilippov42 Ай бұрын
@@hamtaroyt transpile:electron это кастомный скрипт. его надо написать руками в package.json
@theomcmullien
@theomcmullien Ай бұрын
@@hamtaroyt I had an issue where it would say `Missing script: "transpile:electron;"`. A fix for this was to replace ; with && in the following line: "dev:electron": "npm run transpile:electron && cross-env NODE_ENV=development electron .",
@KamasahDickson
@KamasahDickson 19 сағат бұрын
Thank you🎉. I thought electron js is another library i meeded to learn. I just became a desktop app developer just from the intro😂. Guys if you are a front-end dev you just need to learn how to config and co 21:25 mpile. I love react❤❤❤
@wdw781
@wdw781 Ай бұрын
salute for making this great course!
@steelinyt5516
@steelinyt5516 2 ай бұрын
To me, no matter how many courses I take there's no end to learning. It seems that there's a lot of new things being uploaded than what I can learn. Thanks FCC.
@alexeyfilippov42
@alexeyfilippov42 Ай бұрын
это не очень продуктивно. полезнее самому изучать тему с помощью документации. начало видео уже оставляет миллион спорных моментов с тайпскриптом. посмотрел конечный код. организация кода показывает плохие практики
@2teaspoon
@2teaspoon Күн бұрын
Think of these courses as you are a junior chef and the head chef first shows you the ingredients (electron js, vite etc) then the head chef uses them to create a base dish. These course aim to teach you the base dish for any topics. Then its always on you to introduce new ingredients and invent different variety of dishes. If you cant invent new things straight away you can refer other examples on the internet. You can then skip similar type of courses related to this topic on internet and focus on inventing new dishes. Good luck!
@Avinashjoshi1003
@Avinashjoshi1003 2 ай бұрын
Thanks, FreeCodeCamp Team, that I want from long back.
@littlenightmareshahahahaha3093
@littlenightmareshahahahaha3093 2 ай бұрын
finally arrived, thank you so much
@ravindusha
@ravindusha 2 ай бұрын
Great tutorial. Thank you!
@RiggsBoson
@RiggsBoson 2 ай бұрын
Hum first, hum first! 🥇
@xavierdupont5772
@xavierdupont5772 Ай бұрын
On windows: dev.bat start cmd /C npm run dev:react start cmd /C npm run dev:electron On Linux, similar with your favorite terminal or screen. This keeps the I/O control on dev:react .
@6r31v1nZ
@6r31v1nZ 2 ай бұрын
love this stuff. Would love it more if it included the code for Windows users.
@shis10
@shis10 2 ай бұрын
Moast awaited video ♥️🔥🙌🏻
@duxiao5121
@duxiao5121 29 күн бұрын
非常不错的教程
@playinhertz
@playinhertz 2 ай бұрын
How to keep remembered all the stuff of , next , react, electron dsa etc etc.. i always keep forgetting. Please help
@GrimBit19
@GrimBit19 2 ай бұрын
no need to remember , just start building the projects and you will get hand practice for the concepts
@alexeyfilippov42
@alexeyfilippov42 Ай бұрын
в электрон не надо использовать next js
@playinhertz
@playinhertz Ай бұрын
@@alexeyfilippov42 yes but I am learning to diversify myself but I keep forgetting the old stuff, that's the issue with me .
@KamasahDickson
@KamasahDickson 19 сағат бұрын
​@@playinhertz learn one thing at a time. Do you forget your name? No because you have familiarized yourself with it. Don't rush learn one thing at a time
@Rasty-nl7qn
@Rasty-nl7qn 2 ай бұрын
Is electron the best way to build cross platform desktop apps?? What about Wails, Tauri, and other alternatives? Best in terms of customizations not simplicity
@phat80
@phat80 2 ай бұрын
I think the best way to build cross platform desktop apps is still QT and the easiest one is Pyside which is also QT.
@sumitsingh-CANDY
@sumitsingh-CANDY 2 ай бұрын
@@phat80 yea i think pyside is better
@ravikrpranavam
@ravikrpranavam 2 ай бұрын
Thanks for this
@cookingwithmycomrades8619
@cookingwithmycomrades8619 2 ай бұрын
For creating the dist package, what do we do if we're building this project within WSL? Running npm run dist:win doesn't work, but npm run dist:linux does. But how I can open the project within my Windows computer like you did on your Mac at 28:00?
@hashimanshad1041
@hashimanshad1041 2 ай бұрын
Thank you
@Sean_T_Casual
@Sean_T_Casual Ай бұрын
hey @NiklasZiermann first of all, thnx for the great course, but I run into an error. at 27:00 in the video when I try "npm run dist:win" I get the an error saying "missing script electron-builder", even though my electron-builder.json is spelled right and at the right place in the root folder.
@Chaylak22
@Chaylak22 7 күн бұрын
Try running the command in administrator mode maybe this will fix your problem.
@Sean_T_Casual
@Sean_T_Casual 7 күн бұрын
@@Chaylak22 thnx for the recommendation. but that didn't work either
@ashendeimos1039
@ashendeimos1039 2 күн бұрын
Just a sanity check, you did the npm install for the electron builder package yeah?
@lookingforbino
@lookingforbino 19 күн бұрын
53:11, why we start writing common js all of sudden?
@amaanshaikh4355
@amaanshaikh4355 25 күн бұрын
dev to dev .. bro describing things like hot knife on butter
@tootyrnt5533
@tootyrnt5533 29 күн бұрын
Let say I want to build an app for a raspberry pi, what flags would I use for the electron-builder commands?
@MohammedAhmed-y7v
@MohammedAhmed-y7v 2 ай бұрын
I ran into an error when running "npm run transplite:electron". I had to install typescript globally using npm i -g typescript That fixed the error.
@s-soumyakanta
@s-soumyakanta 2 ай бұрын
FreeCodeCamp - 100 lakh subscribers 🎉
@kasper369
@kasper369 2 ай бұрын
Tauri next
@red_boum
@red_boum Ай бұрын
Realistically No one is going to learn Rust to make desktop apps.. Tauri is dead they just don't know it yet.
@rstuv-0
@rstuv-0 Ай бұрын
@@red_boum Thats why I thinking about this. If they just juse go instead of rust it would be best
@ban_droid
@ban_droid 2 ай бұрын
there's jetpack compose already, why y'all never made tutorial on it?
@markobi2602
@markobi2602 14 күн бұрын
Nice tutorial, but I need help getting the icon to show on windows11
@ManfredoCowell
@ManfredoCowell 2 ай бұрын
I really appreciate your efforts! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@areebhussainqureshi5400
@areebhussainqureshi5400 2 ай бұрын
BRO DO NOT SHARE THE SEED PHRASE
@rishiraj2548
@rishiraj2548 2 ай бұрын
😎👍🏻
@codykrist5625
@codykrist5625 2 ай бұрын
In 2024, using Tauri is significantly superior to electron while providing a similar learning curve. Electron bundles a browser, which means that browser will need to be updated regularly to keep up with web security. It also has implications on bloat and (as shown by discord and slack) can be difficult to keep up to date with Tauri uses web view, which means when you update your OS your app updates with it. This does mean that as web standards change, your app will need to be updated to keep up with the changes in most cases, but you’ll also have direct access to system resources which should provide a superior, more native feel. Tauri also has mobile support in their 2.0 release Tauri -> better performance, more secure, more cross platform, may have to write rust for more complicated applications Electron -> more stable, bloated, slower, desktop platforms only, 100% JS/ts Love electron, was my first framework when developing desktop apps, but the bloat and slowdowns were detrimental later in my career
@rstuv-0
@rstuv-0 Ай бұрын
Do you expect js developers to learn rust just for desktop applications
@codykrist5625
@codykrist5625 Ай бұрын
@@rstuv-0 No, but you don't have to write rust to use Tauri. They have the JS APIs for a reason. You may need to install rust and you'll see rust files, but there's seldom a reason to write rust code unless you're trying to do something *Very* custom.
@UnpopularOpinionGames
@UnpopularOpinionGames Ай бұрын
For my Windows peeps! Don't forget to enable DEVELOPER MODE when running electron builder. Windows will not allow it otherwise.
@UnpopularOpinionGames
@UnpopularOpinionGames Ай бұрын
And If you're using the default windows terminal, don't forget to use '&&' instead of ';' when separating commands in the scripts. Like this: "dev:electron": "npm run transpile:electron && cross-env NODE_ENV=development electron .", Instead of this: "dev:electron": "npm run transpile:electron; cross-env NODE_ENV=development electron .",
@AGAMA-w5r
@AGAMA-w5r 24 күн бұрын
After closing the app started as .exe, in the Task Manager you can still see the process in background. How to fix it?
@Imaginativeone_DF
@Imaginativeone_DF 2 ай бұрын
Is SQLite automatically included with Node now?
@jsimmonstx
@jsimmonstx 2 ай бұрын
Hot reload stopped working form me after I changed the base path in vite.config.js, and ran "npm run build". if I use "npm run dev:electron", the app loads/displays as expected, but hot reload does NOT work, if i use "npm dev:react", hot reload works fine. What am I doing wrong?
@NiklasZiermann
@NiklasZiermann 2 ай бұрын
The dev:electron script will not allow hot module reloading on its own. There's a section later on in the course where the "npm run dev" script is added that combines "npm run dev:electron" and "npm run dev:react" to enable hmr
@RahulRaj-rs8zh
@RahulRaj-rs8zh Ай бұрын
can anyone help with how to deploy/distribute these kind of apps, react can be deployed. how to make sure the build changes and updates with the new one everytime I push new react update?
@miguelcamguse
@miguelcamguse 2 ай бұрын
Is there any in vanilla js? 😥
@sivaprakas2830
@sivaprakas2830 28 күн бұрын
Hi , possible to invoke a exe from electron ????, I need to execute a dialer app from electron app
@ashendeimos1039
@ashendeimos1039 2 күн бұрын
In Node, look into the child_process module. It can let you execute exe files
@selvakumar.s9673
@selvakumar.s9673 2 ай бұрын
WPF framework also good option?
@sumitsingh-CANDY
@sumitsingh-CANDY 2 ай бұрын
no go for pyside
@yoskokleng3658
@yoskokleng3658 2 ай бұрын
please help find someone can share like this video but with vue js or nuxt js. it is so rare in youtube video :))).
@Lilly_PK
@Lilly_PK 29 күн бұрын
why does the code work. what kind of wizard are you?
@sanjays7255
@sanjays7255 2 ай бұрын
Viewers before learning this, please consider tauri
@code-thrills
@code-thrills Ай бұрын
why?
@rstuv-0
@rstuv-0 Ай бұрын
You are expecting us to learn rust.
@tootyrnt5533
@tootyrnt5533 Ай бұрын
No
@Gamer2Language
@Gamer2Language Ай бұрын
I am considering learning tauri. Any tips/suggestions?
@fraidoonhu9284
@fraidoonhu9284 28 күн бұрын
In this video he is making the preparation for development a bit more complicated. It is not that difficult. Just install electron and begin developing your app.
@Bright-Great
@Bright-Great 2 ай бұрын
Add how to upload images
@nesa6582
@nesa6582 22 күн бұрын
Super complicated setup process. 35minutes to setup!?!?!!??😅
@teknolovedigital
@teknolovedigital 2 ай бұрын
Tauri please..
@jackymarcel4108
@jackymarcel4108 2 ай бұрын
Jackson Amy Robinson James Thompson Steven
@fakedevdutt
@fakedevdutt 2 ай бұрын
Damn third comment
@salonsospain
@salonsospain 2 ай бұрын
327
@salonsospain
@salonsospain 2 ай бұрын
33320
@datadreamsit8514
@datadreamsit8514 Ай бұрын
wow you talk fast. had to drop speed to 0.75
@soner8780
@soner8780 2 ай бұрын
german pastes everything ugh
@l4n1skyy
@l4n1skyy 6 күн бұрын
npm create vite . doesnt work for me, i get this error failed to load config from /vite.config.js when running npm run dev edit: run npm i -D esbuild@0.24.0
@just5559
@just5559 2 ай бұрын
Use Tauri
@ravalik2103
@ravalik2103 2 ай бұрын
Thank you
Ollama Course - Build AI Apps Locally
2:57:24
freeCodeCamp.org
Рет қаралды 141 М.
Data Engineering Course for Beginners
3:03:43
freeCodeCamp.org
Рет қаралды 690 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Build a Markdown Notes app with Electron, React, Typescript, Tailwind and Jotai
3:14:12
Don't be THAT backend engineer, EVER
59:17
K Srinivas Rao
Рет қаралды 5 М.
Evolution of software architecture with the co-creator of UML (Grady Booch)
1:30:43
The Pragmatic Engineer
Рет қаралды 65 М.
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 215 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 17 МЛН
Laravel 11 + React Full Stack App with Inertia - Project Management App
5:44:19
Building Real-time Apps with Go | Azim Pulat
54:58
Azim Pulat
Рет қаралды 71 М.
Podman Tutorial Zero to Hero | Full 1 Hour Course
1:00:55
Amadeus for Developers
Рет қаралды 46 М.
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 106 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН