TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Teach Me Electron.js

4 pointsby Abhinav2000over 4 years ago
I&#x27;m really interested in learning Electron.Js for cross platform apps, but the official documentation is a bit hard to follow.<p>Any help would be appreciated! Are there any good tutorials? Is it possible to &quot;lockdown&quot; the Google Chrome engine in our electron apps so that future chrome changes don&#x27;t break our apps? What is the process of developing - how do we launch our apps, compile our apps, change them and re launch?<p>I&#x27;m such a newbie in this space, any help would be much appreciated.<p>I really believe in the power of Electron -- even though it can be bloated, it lets us use the power of web browsers in our development. It also makes it easier to transition to a full blown web app later down the track. To me, its amazing :)

4 comments

auganovover 4 years ago
&gt; Is it possible to &quot;lockdown&quot; the Google Chrome engine in our electron apps so that future chrome changes don&#x27;t break our apps?<p>Don&#x27;t upgrade the Electron version? Electron bundles it&#x27;s own chromium. It won&#x27;t auto upgrade on you unless you bump the Electron version.<p>&gt; What is the process of developing - how do we launch our apps, compile our apps, change them and re launch?<p>If most of your code runs in the renderer process all the standard web reloading techniques should work similarly.<p>If you change the main process js you may have to restart or find some specific solution. But you probably won&#x27;t be doing much in the main process.<p>The development workflow can be nearly identical to web dev. The most notable difference is you have access to Node APIs from the renderer process. Makes some things easier but also has security implications. Don&#x27;t use any Electron specific features unless you need them and porting to web should be trivial.
评论 #25469572 未加载
laptop-manover 4 years ago
If you like go I&#x27;d recommend webview for go. Lot less bloat and seems viable. (Just started going though make some apps to test)<p>Other than that iirc there&#x27;s tutorials on electron kn their repo
评论 #25469645 未加载
评论 #25460660 未加载
dave_4_bagelsover 4 years ago
No.
codegladiatorover 4 years ago
try out quasar.dev
评论 #25456789 未加载
评论 #25469641 未加载