Commit graph

51 commits

Author SHA1 Message Date
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
Jonathan Kelley
f0289068a2
Merge pull request #1219 from Demonthos/improve-build-times
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff
beb56b93a0 more clippy fixes 2023-07-20 09:06:12 -07:00
Jonathan Kelley
9d942f1162
make msrv 1.66 2023-07-19 17:20:48 -07:00
Evan Almloff
3d8d8a1b6f half-build-times 2023-07-19 10:19:23 -07:00
Evan Almloff
61e9fd9973 use :.. instead of :... 2023-07-18 16:34:27 -07:00
Evan Almloff
7453486448 fix formatting 2023-07-17 15:12:57 -07:00
Evan Almloff
97115f6537 fix nested nest segments 2023-07-14 12:32:46 -07:00
Evan Almloff
07ea421bf4 ignore hash in routes for now 2023-07-14 11:53:44 -07:00
Evan Almloff
d19a33d59c fix reversed nests 2023-07-14 11:40:38 -07:00
Evan Almloff
86cd0ec81c fix sitemaps for unclosed nests 2023-07-14 08:07:45 -07:00
Evan Almloff
8d166cf40d fix router macro docs 2023-07-13 16:33:53 -07:00
Evan Almloff
29c6d4608d add documentation to the routable derive 2023-07-13 16:23:31 -07:00
Evan Almloff
aa26c086de fix clippy 2023-07-07 18:41:22 -07:00
Evan Almloff
8f67d0aafd make creating rsx nodes from macros possible 2023-06-29 12:52:27 -07:00
Evan Almloff
a7f7aad947 fix errors for nested routes 2023-06-28 11:27:11 -07:00
Evan Almloff
914767892c allow child routers to have fields 2023-06-27 15:56:47 -07:00
Evan Almloff
0eb3b3d47e fix render links assuming prelude was imported 2023-06-26 17:33:21 -07:00
Evan Almloff
2da1f7faa7 allow nested routes 2023-06-26 16:08:53 -07:00
Evan Almloff
fe626c67bd fix switching between routes with different hooks 2023-06-19 10:54:25 -05:00
Evan Almloff
199eb7a2db don't reverse layouts 2023-06-18 18:32:44 -05:00
Evan Almloff
5117d7380a fix clippy 2023-06-01 17:49:12 -05:00
Evan Almloff
bc99d9b01a fix formatting 2023-06-01 17:48:43 -05:00
Evan Almloff
037a248ad9 fix queries 2023-06-01 11:09:51 -05:00
Evan Almloff
fe601e2a48 restore navigator 2023-06-01 09:45:31 -05:00
Evan Almloff
09cabe4e8b update doc examples 2023-05-31 15:51:26 -05:00
Evan Almloff
35befa1784 update tests 2023-05-31 13:57:33 -05:00
Evan Almloff
58b74c1155 create redirects 2023-05-31 12:11:11 -05:00
Evan Almloff
87794b5039 WIP: different macro API 2023-05-26 18:49:45 -05:00
Evan Almloff
74ace3f978 fix format in macro 2023-05-24 07:41:57 -05:00
Evan Almloff
ecc99cd013 format example 2023-05-23 19:39:18 -05:00
Evan Almloff
d3b21879fb create non generic wrappers for each route 2023-05-23 19:31:30 -05:00
Evan Almloff
3678fa1d3f create example 2023-05-23 19:09:24 -05:00
Evan Almloff
d0d7e88a0d generate site map constant 2023-05-23 18:47:33 -05:00
Evan Almloff
502d670dff improve macro ergonomics 2023-05-23 17:32:40 -05:00
Evan Almloff
1f68399e7b allow extra fields in the enum not from the route 2023-05-23 13:57:50 -05:00
Evan Almloff
46017d5b7e fix outlets being updated out of order 2023-05-23 12:59:31 -05:00
Evan Almloff
e4b8fbfafe Intigrate macro with router hooks and components 2023-05-22 16:42:32 -05:00
Evan Almloff
ef6551a6cd seperate dynamic nested segments and layouts 2023-05-22 11:44:24 -05:00
Evan Almloff
be3dae4b05 order catch all routes after non-catch all routes 2023-05-21 11:58:35 -05:00
Evan Almloff
3d8bceb77f fix non_camel_case_types warning 2023-05-20 19:08:43 -05:00
Evan Almloff
ecab5497ee switch to :field for dynamic segments 2023-05-20 19:02:49 -05:00
Evan Almloff
fbd333e334 implement layouts and outlets 2023-05-20 16:32:48 -05:00
Evan Almloff
f4227c7311 remove static end tree segment variant 2023-05-14 17:46:13 -05:00
Evan Almloff
a73873a571 add static nesting 2023-05-14 17:39:42 -05:00
Evan Almloff
adfc10461e reorganize router macro package 2023-05-13 18:14:30 -05:00
Evan Almloff
d6b2145aa7 fix warnings 2023-05-13 17:49:58 -05:00
Evan Almloff
ee763d52e1 implement spread segments 2023-05-13 17:49:10 -05:00
Evan Almloff
2aadeb8046 parse query strings 2023-05-12 20:55:38 -05:00