Commit Graph
19 Commits
Author SHA1 Message Date
Miles MurgawandEvan Almloff 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
Evan Almloff a96ccdc6f3 fix clippy 2023-07-18 13:16:17 -07:00
Evan Almloff 8188011fe3 fix adapters 2023-07-18 13:03:34 -07:00
Evan Almloff ee28c89f5e Change to a stream of bytes for liveview to make using sledgehammer later non-breaking 2023-07-18 12:53:38 -07:00
Evan Almloff 8243dfe00d implement a query engine for liveview 2023-03-23 16:52:29 -05:00
Jonathan Kelley 9ae5f47d19 Allow liveview to spawn pre-injected virtualdoms 2023-03-09 17:01:41 -08:00
Evan Almloff 773a87d701 fix conditional compilation for hot reloading 2023-02-07 08:57:29 -06:00
Evan Almloff b3d119b815 Provide option to do full rebuilds when nessisary 2023-01-13 16:13:07 -06:00
Evan Almloff dc8fcf254b Merge branch 'upstream' into desktop-hot-reload 2023-01-12 10:59:01 -06:00
= 042b67b61b factor out a hot reloading connect function 2023-01-11 16:43:41 -06:00
Evan Almloff e5e1abbdac implement hot reloading for liveview 2023-01-11 14:41:29 -06:00
Evan Almloff 6a8fefdfd8 keep liveview websocket alive 2023-01-10 14:41:26 -06:00
Jonathan Kelley b76c520108 fix: salvo and remove actix from list of webframeworks 2022-12-19 15:29:20 -08:00
Jonathan Kelley aa71c111cd feat: introduce simpler adapters for liveview 2022-12-19 13:11:49 -08:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley b95069619f feat: get liveview working across the boar 2022-12-15 19:57:48 -08:00
Jonathan Kelley 7790d2c065 chore: simplify liveview abstraction 2022-12-15 18:46:59 -08:00
Jonathan Kelley 06e8e096bb feat: more fixes to liveview 2022-12-15 14:25:23 -08:00
Jonathan Kelley e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00