最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - When to use react with electron - Stack Overflow

programmeradmin1浏览0评论

I plan on making a desktop only app. I don't have any intent to deploy it to a web server. Think something like VS code.

Im used to just "throwing" react at any problem that has the term "web application" in it. It streamlines so much its almost impossible to write really great apps without it in my opinion.

However, electron is a different beast entirely. Should I use react still, or is there more benefit to just sticking with raw electron in my case? I'm fairly new to development in electron, so I would like to do it right.

I plan on making a desktop only app. I don't have any intent to deploy it to a web server. Think something like VS code.

Im used to just "throwing" react at any problem that has the term "web application" in it. It streamlines so much its almost impossible to write really great apps without it in my opinion.

However, electron is a different beast entirely. Should I use react still, or is there more benefit to just sticking with raw electron in my case? I'm fairly new to development in electron, so I would like to do it right.

Share Improve this question asked Dec 28, 2017 at 8:35 user6467981user6467981
Add a ment  | 

1 Answer 1

Reset to default 8

Electron is actually Chromium browser on the front end and nodejs on the backend. Building an electron app is technically building a webpage which ships its back end along with it.

If you have a dynamic application that needs to rerender frequently, ReactJS’s virtual DOM will be super effective

So, if you're used to 'throwing' react at any problem that has the term 'web application' in it, i would suggest you go with reactjs.

发布评论

评论列表(0)

  1. 暂无评论