proton-native/docs
2020-01-19 09:49:45 -05:00
..
components Add calculator example; try to get devtools working 2019-12-22 21:35:19 -05:00
images Copy docs, start examples 2019-10-17 17:32:40 -04:00
SVG Copy docs, start examples 2019-10-17 17:32:40 -04:00
.nojekyll Copy docs, start examples 2019-10-17 17:32:40 -04:00
_coverpage.md Change readme for v2 2020-01-01 16:42:29 -05:00
_sidebar.md Add wx backend notes 2020-01-12 15:06:59 -05:00
about.md Start docs 2019-12-15 15:43:09 -05:00
calculator.png Add calculator example; try to get devtools working 2019-12-22 21:35:19 -05:00
catapi_v2.png Start docs 2019-12-15 15:43:09 -05:00
CNAME Copy docs, start examples 2019-10-17 17:32:40 -04:00
components.md Add more wx components 2020-01-10 14:01:09 -05:00
debugging.md Copy docs, start examples 2019-10-17 17:32:40 -04:00
external_functionality.md Start docs 2019-12-15 15:43:09 -05:00
hot_reloading.md Remove packaging until it works 2020-01-02 10:35:31 -05:00
index.html Copy docs, start examples 2019-10-17 17:32:40 -04:00
js_example.js Start docs 2019-12-15 15:43:09 -05:00
main.js Convert everything to typescript 2020-01-03 16:05:14 -05:00
packaging.md Fix windows packaging 2020-01-04 17:18:19 -05:00
python_example.py Copy docs, start examples 2019-10-17 17:32:40 -04:00
quickstart.md Use npx by default 2020-01-12 16:13:51 -05:00
README.md Update README.md 2020-01-19 09:49:45 -05:00
v2_changes.md Add note on Macs with libuv bug 2020-01-12 12:56:22 -08:00
wx_backend.md Add note on Macs with libuv bug 2020-01-12 12:56:22 -08:00

Proton Native

Create desktop applications with React Native components, on all platforms

calculator catapi_v2

What's new in V2?

V2 brought along a complete overhaul, written from the ground up. The source code is better organized, we now support flexbox layout, CSS styling, the same components as React Native, hot reloading, and are working on unit testing. More components and features can now be added easily. It is easier to install, with no compiling required.

For the user, you can now copy and paste your React Native code with minimal to no changes. For our collaborators, it should now be more easy and friendly to bring this project right in line as the desktop port of React Native.

For more information and a full writeup, see the V2 page.

Native Components?

Currently we use Qt, which does not ship with true native components. Performance is basically the same and the look is very similar on almost all platforms, but we realize there is still a large demand for true native components in this project. There is a current experimental backend for wxWidgets and is described here. Please note this is very not complete and still needs a lot more work.

Why?

On mobile, it used to be hard to build beautiful 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 for people who are used to the React workflow and JSX, there currently isn't an alternative.

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.

Here's a simple example in Proton Native:

js_example.js

Features

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

Examples

Check out the examples to see more.

Accelerated by KeyCDN