proton-native/docs
Niklas Mischkulnig c3a528945a Update for libui-node 0.1.0 (#57)
* Update for libui-node 0_1_0

- Use native eventloop
- position got removed

* Update libui-node version to 0.1.0

* babel rebuild

* Cleanup

* Fix non-check menu items

* Make quit menu work

* Add onShouldQuit to App and expose to user

* Remove bin
2018-03-22 09:48:12 -04:00
..
component_APIs Update for libui-node 0.1.0 (#57) 2018-03-22 09:48:12 -04:00
images Add favicon 2018-03-03 15:01:08 -05:00
methods Embed examples into readme and add JSX highlighting 2018-03-02 19:25:58 -05:00
SVG Add windows example 2018-02-11 17:01:02 -05:00
.nojekyll Add initial documentation, add form, and prep for tab (pass full parent, not just element) 2018-02-05 19:43:25 -05:00
_coverpage.md Make logo fixed size 2018-03-02 19:17:38 -05:00
_sidebar.md Update for libui-node 0.1.0 (#57) 2018-03-22 09:48:12 -04:00
CNAME Create CNAME 2018-02-09 17:08:01 -05:00
index.html Add favicon 2018-03-03 15:01:08 -05:00
js_example.js Embed examples into readme and add JSX highlighting 2018-03-02 19:25:58 -05:00
manual_install.md Separate manual install 2018-03-01 21:03:36 -05:00
packaging.md Fix build script in packaging 2018-03-03 12:39:07 -05:00
python_example.py Make python hello-world example comparable to proton example (#40) 2018-03-02 19:07:36 -05:00
quickstart.md Add types constants. (#50) 2018-03-07 18:37:44 -05:00
README.md Embed examples into readme and add JSX highlighting 2018-03-02 19:25:58 -05:00

Proton Native

Create native desktop applications through a React syntax, on all platforms

Why?

On mobile, it used to be hard to build beatiful cross-platform apps. Then React Native came along, giving us a seamless way to build user interfaces and manage state in code, all while doing it cross platform.

On desktop, there is no such tool. You can create a GUI using something like Qt, but the code to make it is messy and unorganized. Having made a very large GUI myself, it gets very cumbersome to manage all of that.

Some of you might be saying that you could do it in Electron. It's a good tool, but it brings in a lot of overhead, running a full webbrowser to manage a small GUI, while Proton Native can do the same, using native tools, with a smaller size and with less resource usage.

Proton Native does the same to desktop that React Native did to mobile. Build cross-platform apps for the desktop, all while never leaving the React eco-system. Popular React packages such as Redux still work.

Compare this code in Qt (Python):

python_example.py

To this code using Proton Native:

js_example.js

It is not only shorter, it is also easier to read and to edit, and can easily utilize the power of the state.

Features

  • Same syntax as React Native
  • Works with existing React libraries such as Redux
  • Cross platform
  • Native components. No more Electron
  • Compatible with all normal Node.js packages

Examples

Check out the examples to see more.

Accelerated by KeyCDN