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
Maccesch
9a23ee4612
active_class prop for Router
2022-03-13 16:35:28 +00:00
Maccesch
1080ffe52d
use_route hook can be used outside of Route components
2022-03-13 16:31:33 +00:00
Jon Kelley
0fdd6d268f
Merge pull request #294 from Synphonyte/master
2022-03-12 11:56:25 -05:00
Jonathan Kelley
ed07e914d3
fix: compile router on web
2022-03-09 21:14:22 -05:00
Maccesch
1a2624952a
fixed cargo fmt
2022-03-09 23:06:14 +00:00
Jonathan Kelley
1c2e5e2aea
publish: update dioxus with router fix
2022-03-09 17:53:02 -05: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
Jonathan Kelley
e7505188d6
release: make a new 0.2.0 release of Dioxus
2022-03-09 14:24:05 -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
cdbc37711f
fix: wasm test
2022-03-04 13:16:37 -05:00
Jonathan Kelley
57bd8b7ce2
fix: enable wasmtest feature
2022-03-04 13:16:37 -05:00