Commit graph

130 commits

Author SHA1 Message Date
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
Jonathan Kelley
f2979cb12a feat: apply local router changes 2022-03-04 13:16:37 -05:00
Jonathan Kelley
e04a6d63a5 chore: move tests out of core and into the top level crate
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
Jonathan Kelley
46a42c5ef9 Docs: update readme and usage doc for router 2022-03-02 17:57:00 -05:00
Jonathan Kelley
0e12915dc8 fix: remove old vscode folder 2022-03-02 17:54:22 -05:00
Ilya Maximov
916dc64402
style: format againkjdfakbjfbkasjd 2022-02-23 20:00:01 +01:00
Ilya Maximov
bda4a71a72
feat: change schedule_update's Rc to an Arc
BREAKING CHANGE
2022-02-23 19:47:17 +01:00
Jonathan Kelley
3873cd1a60 fix: remove unused depds 2022-02-16 14:40:45 -05:00
Jonathan Kelley
babe862739 fix: login example to use proper methods 2022-02-16 14:11:31 -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