Evan Almloff
a35436ee4f
Change ToRouteSegments to borrow self ( #2283 )
...
* Change display route segments to borrow the type
* fix formatting
2024-06-07 12:40:50 -07:00
Evan Almloff
0127501dbf
Improve inline docs ( #2460 )
...
Improve inline docs
* improve incorrect event handler return error message
* Improve event handler docs
* document the eval functions
* document spawn and common spawn errors
* fix event handler docs
* add notes about how you use attributes and elements in rsx
* add doc aliases for attributes and events we rename
* add some more aliases for common search terms
* don't doc ignore any public examples in core
* don't ignore public doc examples in ssr
* don't ignore examples in the dioxus package readme
* add a warning when you launch without a renderer enabled
* fix some outdated element docs
* add a bunch of examples to resource
* add notes about desktop events
* add more docs for use_resource
* add on_unimplemented hint to Dependency
* fix some unresolved links
* add examples to each of the router traits
* add not implemented errors for router traits
* add an example to the routable trait
* expand rsx macro docs
* improve memo docs
* update the dioxus readme
* mention dioxus crate features in the docs
* fix a bunch of doc tests
* fix html doc tests
* fix router doc tests
* fix dioxus signals doc tests
* fix dioxus ssr doc tests
* fix use_future example in the hooks cheat sheet
* add a javascript alias for eval
* fix hook explanation values
* remove unused embed-doc-image dependency
2024-06-06 18:15:17 -07:00
Drew Pirrone-Brusse
e1b0e0425a
Switch from an absolute ::dioxus to the relative dioxus_core ( #2465 )
2024-05-31 06:12:32 -05:00
Evan Almloff and Jonathan Kelley
08da9a1253
Implement hash fragments in the router ( #2320 )
...
* implement hash fragments in the router
* clean up query and search example
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-04-25 14:30:25 -04:00
Evan Almloff
5ce91e1bfc
Fix flakey windows tests ( #2332 )
2024-04-17 15:08:38 -07:00
Evan Almloff and Jonathan Kelley
9f280a8d84
Fix child fields with the web history ( #2172 )
...
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-03-29 18:23:28 -07:00
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 and Jonathan Kelley
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
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
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
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
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
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
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
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
8f67d0aafd
make creating rsx nodes from macros possible
2023-06-29 12:52:27 -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
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
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
d3b21879fb
create non generic wrappers for each route
2023-05-23 19:31:30 -05:00