Evan Almloff
c238c22eb5
add required features to fix tests
2023-06-24 14:07:48 -07:00
Evan Almloff
e83866b986
fix router examples
2023-06-24 13:44:22 -07:00
Evan Almloff
a165e13564
add cache headers
2023-06-24 13:21:12 -07:00
Evan Almloff
99674fcf94
create server launch macro
2023-06-23 18:23:03 -07:00
Evan Almloff
1704ee0068
router/fullstack/ssr intigration
2023-06-22 16:51:48 -07:00
Evan Almloff
28f875857e
add timestamps to incremental rendering
2023-06-22 12:13:51 -07:00
Evan Almloff
3d41dd95c9
remove logging
2023-06-21 18:51:40 -07:00
Evan Almloff
3a690877d1
basic incremental renderer
2023-06-21 18:36:32 -07:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Evan Almloff
bc063c58b7
throttle history updates to 100ms
2023-06-19 12:04:06 -05:00
Evan Almloff
33f0e30369
fix default web history provider
2023-06-18 19:24:31 -05:00
Evan Almloff
a9307e57e6
fix CI
2023-06-02 12:33:47 -05:00
Evan Almloff
577f99e68c
link to the router guide in the readme
2023-06-01 17:50:42 -05:00
Evan Almloff
bc99d9b01a
fix formatting
2023-06-01 17:48:43 -05:00
Evan Almloff
b5a2f0d6cb
finish router refrence
2023-06-01 17:31:13 -05:00
Evan Almloff
07446386e6
fix external router examples
2023-06-01 14:10:33 -05:00
Evan Almloff
67992f7da9
create cfg factory
2023-06-01 13:13:50 -05:00
Evan Almloff
2f473f7c97
make serde optional
2023-06-01 11:03:44 -05:00
Evan Almloff
fe601e2a48
restore navigator
2023-06-01 09:45:31 -05:00
Evan Almloff
ed0184685d
fix doc links
2023-05-31 17:14:40 -05:00
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
58b74c1155
create redirects
2023-05-31 12:11:11 -05:00
Evan Almloff
ecc99cd013
format example
2023-05-23 19:39:18 -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
d0d7e88a0d
generate site map constant
2023-05-23 18:47:33 -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
46017d5b7e
fix outlets being updated out of order
2023-05-23 12:59:31 -05:00
Evan Almloff
f94dc85491
fix scroll history
2023-05-23 12:59:22 -05:00
Evan Almloff
dd48c5a163
fix web history
2023-05-23 11:58:12 -05:00
Evan Almloff
b91fb39142
Merge branch 'upstream' into router-typesafe
2023-05-23 11:24:31 -05:00
Evan Almloff
7ae8403af7
update web history
2023-05-23 11:22:57 -05:00
Evan Almloff
e4b8fbfafe
Intigrate macro with router hooks and components
2023-05-22 16:42:32 -05:00
Jon Kelley
6bd3437e3a
Merge branch 'master' into server-fn
2023-05-18 13:18:41 +02:00
Evan Almloff
2aadeb8046
parse query strings
2023-05-12 20:55:38 -05:00
Evan Almloff
579da12ab6
Merge branch 'upstream' into server-fn
2023-05-02 11:05:38 -05:00
Evan Almloff
ed4709101c
fix duplicate example names
2023-05-02 09:38:58 -05:00
Evan Almloff
80a8310297
switch debug logs to trace in the router and web crates
2023-04-20 15:08:56 -05:00
Adrian Wannenmacher
90c7e22f8b
actually make clippy happy
2023-04-12 20:19:01 +02:00
Adrian Wannenmacher
2f3bb4d6d5
make clippy happy
2023-04-12 19:48:27 +02:00
Adrian Wannenmacher
e24526dab3
add tests for the link component
2023-04-11 22:07:00 +02:00
Adrian Wannenmacher
18c7f9c056
reimplement link click event handler prop
2023-04-11 20:38:39 +02:00
Adrian Wannenmacher
00174d4f46
switch router to async-lock
2023-04-11 19:58:07 +02:00
Adrian Wannenmacher
231e32d76e
merge upstream changes
2023-04-11 19:21:48 +02:00
Evan Almloff
219af51526
fix cargo check
2023-04-03 17:39:09 -05:00
Evan Almloff
bfcb0f6eab
add an example illistrating intigration with the router
2023-03-31 15:33:44 -05:00
Arniu Tseng
ec8b77ab32
Remove unused simple-logger
2023-03-25 18:20:01 +08:00
Evan Almloff
71b5689b1e
fix web router test build
2023-03-21 08:22:40 -05:00
Kyle Smith
eee6cbabb2
Update Router book to reflect crate separation and need for web
feature. ( #873 )
2023-03-10 07:07:53 -06:00
Evan Almloff
a51f67c2ec
add version to docs links in readmes
2023-02-18 18:38:30 -06:00
Evan Almloff
3f3db39c28
update doc links
2023-01-15 15:18:12 -06:00
Evan Almloff
52d5c8d4e7
update READMEs and tags for the 0.3 release
2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138
feat: publish 0.3 versions of many crates
2023-01-04 14:31:07 -05:00
Jonathan Kelley
4fdbce9a70
chore: clean up readmes
2022-12-29 16:17:03 -05:00
Jonathan Kelley
366e46eddf
chore: add some fixes to hot reload
2022-12-25 23:22:43 -05:00
Jonathan Kelley
9b0244ee5c
fix: use ready nodes in more places
2022-12-25 01:37:00 -05:00
Jonathan Kelley
85f6ea0545
feat: expand error boundary concept
2022-12-23 23:59:10 -05:00
Adrian Wannenmacher
f1e32f6358
rustfmt
2022-12-23 18:56:24 +01:00
Adrian Wannenmacher
f1cbfe0874
change router to use option again
2022-12-23 18:55:03 +01:00
Jonathan Kelley
5a70c6ecf9
chore: swap over router none
2022-12-22 14:45:48 -05:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Adrian Wannenmacher
7d0c098a61
try fix CI test
2022-12-16 12:55:50 +01:00
Adrian Wannenmacher
83d428b853
try fix CI test
2022-12-16 12:44:05 +01:00
Adrian Wannenmacher
38915b1f96
try fix CI test
2022-12-16 12:33:46 +01:00
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
Jonathan Kelley
7e45f2aa04
feat: add scroll to 0 for web router
2022-12-13 15:00:54 -08:00
Jonathan Kelley
5c20e651da
fix: get rollover working
2022-12-13 14:44:47 -08:00
Jonathan Kelley
79e786aca5
chore: convert to logs
2022-12-13 12:38:27 -08: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
Jonathan Kelley
d4b6bb8a7b
feat: fix the scope rollover bug
2022-12-12 18:31:30 -08: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
Jonathan Kelley
e6920e9b34
chore: fix web
2022-12-07 16:02:35 -08:00
Jonathan Kelley
1c3f4b2bc4
fix: use weak instead of sync
2022-12-07 15:42:39 -08:00
Jonathan Kelley
0bf4725639
fix: namespacing of dynamic attributes
2022-12-07 15:11:51 -08:00
Jonathan Kelley
a252774226
chore: clean up docs with changes to templates
2022-12-07 13:39:22 -08:00
Jonathan Kelley
4eefc3f854
chore: rename all &cx to cx, make clipppy happy
2022-12-07 13:11:40 -08:00
Jonathan Kelley
5673017def
chore: clean up the repo some
2022-12-06 17:50:25 -08: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
Jonathan Kelley
df4a1b6c7a
chore: finish tweaking context api
2022-12-05 15:30:49 -08:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07: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
Jonathan Kelley
9edc3459d5
fix: remove latent test
2022-03-04 13:16:37 -05:00
Jonathan Kelley
82f69a9ca6
fix: feature flagging
2022-03-04 13:16:37 -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
60b11081f2
chore: remove idna feature from url
2022-03-04 13:16:37 -05:00