Evan Almloff
e8491d5cf4
Require every field in router variants to be present in the route in the web history ( #2159 )
...
* require every field to be present in the URL in the web history
* remove desktop only extra field from the simple routes example
2024-03-27 18:12:35 -07:00
Miles Murgaw
3cbe6ff96e
Fix Outdated README.md ( #2147 )
...
* fix: outdated readme
* Fix missing readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -07:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI
2024-03-12 13:39:42 -07:00
Konstantin Kostiuk
a4de322821
fix typo varient -> variant ( #2056 )
2024-03-11 17:03:34 -05:00
tigerros
e217a957dc
fix
2024-02-24 14:36:02 +01:00
tigerros
24e8ac2ad3
fix warning
2024-02-24 13:30:50 +01:00
Jonathan Kelley
4f8868d43d
Merge pull request #1791 from ealmloff/breaking
...
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Andrew Voynov
8beb3c7893
chore(docs): fixed typo in router-macro
2024-02-04 22:39:04 +03:00
Jonathan Kelley
eff1dd6c90
Merge branch 'master' into breaking
2024-01-30 16:20:19 -08:00
ealmloff
1e013a7f24
fix the layout docs as well
2024-01-30 12:12:48 -06:00
ealmloff
87eb9744e0
fix a tiny typo in the Routable macro docs: the route attribute only takes 2 parameters, not three
2024-01-30 12:04:31 -06:00
Jonathan Kelley
85c7c22619
Make router work on web
2024-01-19 16:36:40 -08:00
Evan Almloff
dab87c0144
try not double boxing
2024-01-17 15:07:45 -06:00
Jonathan Kelley
fb4f97406c
Fix router codegen
2024-01-16 15:48:37 -08:00
Evan Almloff
e65c5f0eb3
depreciate the render macro
2024-01-16 13:18:46 -06:00
Evan Almloff
d2cdcc602b
impl ComponentFunction for Routes
2024-01-16 09:40:17 -06:00
Jonathan Kelley
74aa55f85f
Bring back mroe hooks, remove old hooks, cleanup a number of examples
2024-01-15 17:04:39 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling
2024-01-13 20:51:37 -08:00
Jonathan Kelley
8f70509bc3
Merge pull request #1680 from ealmloff/derive-query-parsing
...
Automatically derive standard query parsing in the router macro
2024-01-05 12:16:37 -08:00
Exotik850
fc31876a57
Wasm target check before build ( #1689 )
...
* Add `rustup show` check for wasm32 target
* better place for check
* fmt
* clippy fmt
2023-12-07 12:35:16 -06:00
Evan Almloff
8a44fe8d03
derive query parsing in the router macro
2023-12-01 15:31:45 -06:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs ( #1536 )
...
* Include README in docs.rs and add Dioxus logo
* Update README.md
2023-10-10 10:52:48 -05:00
Jonathan Kelley
cb39122247
Merge pull request #1298 from ealmloff/fix-spread-routes
...
Fix parsing spread routes
2023-09-16 11:56:54 -07:00
Leonard
ae5dca8f43
Routable
improvements (#1461 )
...
* Fix `SegmentType::CatchAll` `Display`
* Rename `display_route_segements` to `display_route_segments` and add dots to docs
* Fix `Routeable::static_routes` and add more route retrieval methods
* Fix Clippy and extract duplication to function
* Return route strings instead of instances
* Remove some methods
* Clippy
2023-09-13 11:55:26 -05:00
ealmloff
c8127e164b
Url decode routes ( #1407 )
...
* fix a few new clippy lints
* url decode routes
* fix catch all segments
* fix clippy
2023-09-06 12:56:43 -05:00
Evan Almloff
61a3b05616
fix parsing spread routes
2023-08-04 12:06:17 -07:00
ealmloff
61ce3dd6b7
Reject all external routes when parsing a route ( #1272 )
...
* reject all external routes when parsing a route
* fix children routers
2023-08-01 12:29:35 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
ealmloff
cfd62e274e
Make deprecated use router ( #1260 )
...
* make router props expansion better
* fix router data fields
* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Evan Almloff
5f0dd3af3e
it almost lives?
2023-07-25 18:14:48 -07:00
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