dioxus/packages/desktop
Evan Almloff cbeda0af76
Refactor and fix eval channels (#2302)
* wip

* pull out eval into the interpreter

* fix web eval

* fix DioxusChannel name

* properly drop dioxus channel

* use typescript dioxus chanel in desktop

* add more comments to native eval

* add desktop headless eval tests

* expand web playwright eval tests

* fix web headless tests

* fix default hasher path

* run eval tests on windows

* restore desktop query drop code

* remove data from drop desktop query message

* catch syntax errors in desktop eval

* catch js runtime errors in desktop

* fix typo interprerter -> interpreter

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-04-26 11:55:48 -04:00
..
examples Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 2024-01-31 16:33:53 -08:00
headless_tests Refactor and fix eval channels (#2302) 2024-04-26 11:55:48 -04:00
src Refactor and fix eval channels (#2302) 2024-04-26 11:55:48 -04:00
build.rs remove minified js from build scripts 2024-02-01 10:07:03 -06:00
Cargo.toml Refactor and fix eval channels (#2302) 2024-04-26 11:55:48 -04:00
CHANGELOG.md feat: add changelogs 2022-01-29 10:17:14 -05:00
README.md update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00

Dioxus Desktop (webview)

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-desktop provides a webview-based desktop renderer for the Dioxus VirtualDom.

This requires that webview is installed on the target system. WebView is installed by default on macOS and iOS devices, but might not come preinstalled on Windows or Linux devices. To fix these issues, follow the instructions in the guide.

Features

  • Simple, one-line launch for desktop apps
  • Dioxus VirtualDom running on a native thread
  • Full HTML/CSS support via wry and tao
  • Exposed window and Proxy types from tao for direct window manipulation
  • Helpful hooks for accessing the window, WebView, and running javascript.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.