Commit Graph
32 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley 281087469a Move the history provider into the context (#3048)
* move history providers into a separate crate

* start moving route providers into the renderers

* clean up intoroutable

* remove into routable

* fix router tests

* Provide history providers in each renderer

* implement nested routers

* move the lens out of the history crate

* re-export dioxus history trait in the prelude

* also re-export the history function

* fix history doctests

* some light cleanups

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-10-31 12:44:04 -07:00
Drew Pirrone-BrusseandEvan Almloff a575a425e3 Add placeholder doc comments to macro-generated enums (#2872)
* Add placeholder doc comments to macro-generate enums

* Add doc comments to generated router parse error enums

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-08-26 08:26:46 -05:00
Evan AlmloffandJonathan 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 e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06: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
Evan Almloff 61a3b05616 fix parsing spread routes 2023-08-04 12:06:17 -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 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 d19a33d59c fix reversed nests 2023-07-14 11:40:38 -07:00
Evan Almloff aa26c086de fix clippy 2023-07-07 18:41:22 -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 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 037a248ad9 fix queries 2023-06-01 11:09:51 -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 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 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 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 fbd333e334 implement layouts and outlets 2023-05-20 16:32:48 -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
Evan Almloff e26ff6a5c0 delete unneeded files 2023-05-12 09:18:55 -05:00