dioxus/packages/liveview
Miles Murgaw 6210c6fefe
Convert use_eval to use send/recv system (#1080)
* progress: reworked

don't run this, it'll kill your web browser

* feat: use_eval but with comms

* revision: async recv & recv_sync

* revision: use_eval

* revision: standard eval interface

* revision: use serde_json::Value instead of JsValue

* revision: docs

* revision: error message

* create: desktop eval (wip)

* fix: desktop eval

* revision: wrap use_eval in Rc<RefCell<_>>

* fix: fmt, clippy

* fix: desktop tests

* revision: change to channel system

- fixes clippy errors
- fixes playwright tests

* fix: tests

* fix: eval example

* fix: fmt

* fix: tests, desktop stuff

* fix: tests

* feat: drop handler

* fix: tests

* fix: rustfmt

* revision: web promise/callback system

* fix: recv error

* revision: IntoFuture, functionation

* fix: ci

* revision: playwright web

* remove: unescessary code

* remove dioxus-html from public examples

* prototype-patch

* fix web eval

* fix: rustfmt

* fix: CI

* make use_eval more efficient

* implement eval for liveview as well

* fix playwright tests

* fix clippy

* more clippy fixes

* fix clippy

* fix stack overflow

* fix desktop mock

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-07-21 17:36:25 -05:00
..
.vscode feat: liveview working with warp 2022-03-15 01:02:44 -04:00
examples Fix: bump liveview salvo version to 0.44.1. (#1224) (#1130) 2023-06-28 14:10:18 -05:00
src Convert use_eval to use send/recv system (#1080) 2023-07-21 17:36:25 -05:00
Cargo.toml Convert use_eval to use send/recv system (#1080) 2023-07-21 17:36:25 -05:00
CHANGELOG.md Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.1 2021-12-15 16:07:09 -05:00
README.md add version to docs links in readmes 2023-02-18 18:38:30 -06:00

Dioxus Liveview

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-liveview provides adapters for running the Dioxus VirtualDom over a WebSocket connection.

The current backend frameworks supported include:

  • Axum
  • Warp
  • Salvo

Dioxus-LiveView exports some primitives to wire up an app into an existing backend framework.

  • A ThreadPool for spawning the !Send VirtualDom and interacting with it from WebSockets
  • An adapter for transforming various socket types into the LiveViewSocket type
  • The glue to load the interpreter into your app

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.