Evan Almloff
ece8f0fb22
general cleanup
2023-05-31 17:12:52 -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
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
46017d5b7e
fix outlets being updated out of order
2023-05-23 12:59:31 -05:00
Evan Almloff
dd48c5a163
fix web history
2023-05-23 11:58:12 -05:00
Evan Almloff
e4b8fbfafe
Intigrate macro with router hooks and components
2023-05-22 16:42:32 -05:00
Evan Almloff
2aadeb8046
parse query strings
2023-05-12 20:55:38 -05:00
Adrian Wannenmacher
2f3bb4d6d5
make clippy happy
2023-04-12 19:48:27 +02:00
Adrian Wannenmacher
18c7f9c056
reimplement link click event handler prop
2023-04-11 20:38:39 +02:00
Adrian Wannenmacher
f1cbfe0874
change router to use option again
2022-12-23 18:55:03 +01:00
Adrian Wannenmacher
96bd8b5565
fix outlet depth override
2022-12-15 21:59:18 +01:00
Adrian Wannenmacher
4677a00adc
apply clippy suggestions
2022-12-13 16:19:40 +01:00
Adrian Wannenmacher
83f6984b0a
change empty outlet to placeholder instead of div
2022-12-13 16:01:53 +01:00
Adrian Wannenmacher
8d52a6d208
document components
2022-12-13 12:18:54 +01:00
Adrian Wannenmacher
398043eba0
add history buttons
2022-12-13 09:10:51 +01:00
Adrian Wannenmacher
85ac35c198
update default external navigation failure component
2022-12-12 23:39:52 +01:00
Adrian Wannenmacher
780786c520
fix outlet panic
2022-12-09 03:33:12 +01:00
Adrian Wannenmacher
ef76453422
fix release build
2022-12-09 01:42:30 +01:00
Adrian Wannenmacher
9f48cab9ad
add comp() and default failure components
2022-12-09 01:14:54 +01:00
Adrian Wannenmacher
89ac4d51ab
fix breaks from previous merge
2022-12-08 23:56:41 +01:00
Adrian Wannenmacher
ea43192267
add link component
2022-12-08 22:56:57 +01:00
Adrian Wannenmacher
26543a1876
add Outlet component
2022-12-06 12:02:51 +01:00
Adrian Wannenmacher
998f9b9ec9
clean out router
2022-12-06 10:11:22 +01:00
Norman Paniagua
6e66d6fe36
Added initial_url to the router component ( #510 )
...
* added active_url
* renamed active_url to initial_url
* updated docs
2022-09-13 13:09:00 -07:00
Reinis Mazeiks
d734dc5b46
Remove argument from use_hook closure ( #496 )
...
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. ( #387 )
...
* feat: use synchronous router design
* feat: function to get router out of dom
* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Evan Almloff
fbf8e13b8d
clean up imports
2022-06-25 08:27:10 -05:00
Joshua Kifer
213f54c4d8
Convert all logs to trace
2022-03-27 09:23:44 -06:00
Jonathan Kelley
dc028df0dd
clippy: make it happier
2022-03-20 21:50:43 -04:00
Maccesch
a2825fb13c
updated examples with the new optional props
2022-03-16 06:36:39 +00:00
Maccesch
9a23ee4612
active_class prop for Router
2022-03-13 16:35:28 +00:00
Jon Kelley
0fdd6d268f
Merge pull request #294 from Synphonyte/master
2022-03-12 11:56:25 -05:00
Maccesch
1a2624952a
fixed cargo fmt
2022-03-09 23:06:14 +00:00
Jonathan Kelley
cc4b073f0d
fix: use ordering of routes for router
2022-03-09 17:50:39 -05:00
Jonathan Kelley
0ce326566e
wip: fix router slashing
2022-03-09 16:26:13 -05:00
Maccesch
82fc9739bb
updated to new way of checking path of route
2022-03-09 03:25:40 +00:00
Maccesch
ef82ffd217
added active class to router link
2022-03-06 23:17:24 +00:00
Jonathan Kelley
f47d2900fb
feat: add a redirect
2022-03-05 14:06:54 -05:00
Jonathan Kelley
c7627f0b93
fix: tests pass
2022-03-04 13:16:37 -05:00
Jonathan Kelley
06d4a5640b
docs: fix doc comment
2022-03-04 13:16:37 -05:00
Jonathan Kelley
cc83900334
feat: router crate is polished up
2022-03-04 13:16:37 -05:00
Jonathan Kelley
f2979cb12a
feat: apply local router changes
2022-03-04 13:16:37 -05:00
Denis Richartz
b71cf6ed4a
cargo fmt
2022-02-16 16:11:57 +01:00
Denis Richartz
ee2e986a30
fix unnecessary div
2022-02-16 15:34:43 +01:00
Jonathan Kelley
8ca505b65b
feat: better link
2022-02-14 09:30:08 -05:00
Jonathan Kelley
3edf3e367f
wip: debugging
2022-01-30 14:08:03 -05:00
Dave Rolsky
72c6bb3d0b
Make log message in Link component trace level, not debug
...
All the other routing-related messages are at the trace level. Leaving this at
debug was an oversight on my part.
2022-01-28 15:31:43 -06:00
Jonathan Kelley
29ed7ebece
feat: connect an onchange listener
2022-01-25 15:06:37 -05:00