dioxus/packages/liveview
Evan Almloff cab573eefd
Synchronous prevent default (#2792)
* add prevent default methods to the event

* sync prevent default almost working

* sync prevent default working

* Move event handling into the runtime

* update core tests

* restore desktop file dialog

* implement prevent default on web

* add a hint about the new prevent default method

* fix web prevent default

* Fix CTRL+click on links

* fix values memorize in place test

* Fix a few more tests

* Add a playwright test for sync prevent default

* Fix core doc tests

* create a deprecated VirtualDom::handle_event

* fix macos imports in desktop

* Fix onmounted event

* Fix liveview support

* switch to RefCell for metadata

* Remove println

* remove prevent default attribute

* remove web specific link behavior

* Fix liveview links

* more liveview fixes for link

* Fix merge conflicts

* Fix clippy

* use the new prevent default in the file upload example
2024-08-13 11:57:54 -07:00
..
examples Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
src Synchronous prevent default (#2792) 2024-08-13 11:57:54 -07:00
Cargo.toml Synchronous prevent default (#2792) 2024-08-13 11:57:54 -07:00
README.md Fix Links & Add Link Checker (#2769) 2024-08-02 10:46:18 -07: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

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.