Adrian Wannenmacher
75357e974d
rustfmt
2022-12-16 12:10:49 +01:00
Adrian Wannenmacher
da1862507e
update router readme
2022-12-16 12:03:59 +01:00
Adrian Wannenmacher
96bd8b5565
fix outlet depth override
2022-12-15 21:59:18 +01:00
Adrian Wannenmacher
10c2abf0d8
implement scroll restoration
2022-12-15 20:09:53 +01:00
Adrian Wannenmacher
53d97755fd
add web history integration
2022-12-15 14:46:40 +01:00
Adrian Wannenmacher
e26e44fbc5
fix router example indentation
2022-12-14 18:10:36 +01:00
Adrian Wannenmacher
41bcc1e1f8
remove unneeded code from simple router example
2022-12-14 18:09:37 +01:00
Adrian Wannenmacher
d866f6782e
add a bit more content to the router example
2022-12-14 18:07:04 +01:00
Adrian Wannenmacher
9fcdacbeb8
add a few outlet tests
2022-12-13 18:28:36 +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
af6362ce3e
deny missing docs in router
2022-12-13 12:42:18 +01:00
Adrian Wannenmacher
8d52a6d208
document components
2022-12-13 12:18:54 +01:00
Adrian Wannenmacher
4e1c746f25
document the prelude
2022-12-13 11:22:44 +01:00
Adrian Wannenmacher
7d2466ff28
make hooks return a result instead of an option
2022-12-13 11:09:24 +01:00
Adrian Wannenmacher
3e86c0e364
make nested use_router calls behave correctly
2022-12-13 10:59:25 +01:00
Adrian Wannenmacher
64399794c0
document hooks
2022-12-13 10:46:30 +01:00
Adrian Wannenmacher
398043eba0
add history buttons
2022-12-13 09:10:51 +01:00
Adrian Wannenmacher
0cc0cba482
add navigator and use_navigate hook
2022-12-13 00:09:32 +01:00
Adrian Wannenmacher
85ac35c198
update default external navigation failure component
2022-12-12 23:39:52 +01:00
Adrian Wannenmacher
8df588046d
add use_route hook
2022-12-12 23:39:34 +01:00
Adrian Wannenmacher
3d752e31ec
add a fixed route to example
2022-12-09 04:11:31 +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
a170aa76e0
add simple example
2022-12-09 01:15:04 +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
3b088be9a6
add use_router hook
2022-12-06 11:03:01 +01:00
Adrian Wannenmacher
998f9b9ec9
clean out router
2022-12-06 10:11:22 +01:00
Jon Kelley
540e785d8b
Less clumsy configuration for desktop and mobile ( #553 )
...
* chore: dont use prebuilt builder pattern for configuring desktop
* chore: use regular config pattern for web
* Chore: update docs too
* chore: clean up some warnings
2022-09-13 16:22:27 -07: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
Jonathan Kelley
92a8b7c75f
fmt: fix formatting
2022-07-07 02:52:37 -04:00
Jonathan Kelley
3d47cb48fa
fix: autofmt on single line rsx calls
2022-07-07 02:06:50 -04:00
Reinis Mazeiks
0777437243
Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
...
Conflicts:
packages/tui/tests/events.rs
2022-06-29 02:18:57 +03:00
Reinis Mazeiks
ca60b01c49
Fix remaining warnings (unrelated)
2022-06-29 02:17:00 +03:00
Reinis Mazeiks
cae0c1409d
Fix some warnings: avoid deprecated fields
2022-06-29 02:13:01 +03:00
Evan Almloff
041f474329
Merge remote-tracking branch 'upstream/master' into clean_up_rsx_imports
2022-06-26 07:22:55 -05:00
Evan Almloff
9a963bba0a
update router test imports
2022-06-25 11:17:26 -05:00
Evan Almloff
fbf8e13b8d
clean up imports
2022-06-25 08:27:10 -05:00
YuKun Liu
8346525db5
Update README.md
2022-05-21 23:33:17 +08:00
YuKun Liu
b964f7c802
Update README.md
2022-05-21 10:11:07 +08:00
Jonathan Kelley
3febd42588
Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4
2022-05-02 23:57:20 -04:00
Michael Mroz
078287301d
Fix query parsing: the router was silently throwing away queries not prefixed with an extra '?'
2022-04-17 01:51:02 -07: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