proton-native README

The project's README from github.com/kusti8/proton-native. As one markdown file: README.md.

proton native Logo by @elisiri

Announcement

Sadly I don't have time to dedicate time to this project. Some others have created a fork here to continue the work: https://github.com/proton-nativejs/proton-native

npm npm styled with prettier PRs Welcome MIT License Gitter chat

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

V2 is released!

V2 has been released and it brings a whole host of improvements including new components that are identical to React Native, styling, flexbox, hot reloading, and more. You can read the full writeup here. To try it out, visit the documentation for instructions on how to get started!

Features

Images

Documentation

See the documentation for how to get started and details on all the components.

Examples

Examples can be found in examples/.

Contributing

All contributions are welcome. Just make a PR.

Accelerated by KeyCDN

proton-native (kusti8/proton-native)

Searching Database…

这是什么?Proton Native 让你用 React 语法开发跨平台桌面应用,直接渲染真正的原生界面,而不是像 Electron 那样套一层浏览器。
它是一个框架,还是只是基于 Electron 的样式库?它是一个独立的 React 渲染器/框架:它为桌面端重新实现了类似 React Native 的组件和接口,不依赖 Electron,也不涉及浏览器。
我该如何开始一个项目?你可以把它作为 npm 包安装,然后按照官方文档网站搭建应用,导入组件的方式和在 React Native 中一样。
除了 Node.js 和 React,我还需要别的东西吗?它基于标准的 Node.js/npm 生态构建,兼容普通的 Node 包以及 Redux 等现有的 React 库;在底层,它依赖原生 Qt 绑定(node-qt-napi),而不是任何浏览器运行时。
这个项目还在维护吗?不再维护。作者已停止积极维护,不过社区中有一个分支在继续开发。
V2 相比最初的版本有哪些变化?V2 新增了与 React Native 完全相同的组件、样式和 flexbox 布局系统以及热重载,使 API 与标准的 React Native 开发更加接近。
我现有的 React Native 组件或库能复用吗?组件 API 与 React Native 保持一致,而且 Proton Native 兼容 Redux 等现有的 React 库,因此你的 React/React Native 经验大部分都能直接沿用。
在哪里可以看到示例应用?示例项目放在仓库的 examples/ 目录下,你可以运行它们,查看可以正常工作的 Proton Native 应用。
What are similar projects?mygo, gpuix-svelte, ink, gtkx, tiptap, tambo, react-pdf, tsrx
Creator
kusti8
Size
7.4 MB
Stars
10.9K
Updated
CommitJan 20
Age
8y
Commits · 90 Days