Commit Graph
49 Commits
Author SHA1 Message Date
Jonathan Kelley dd4547d753 Feat: add global context functions
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.

Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
ealmloff c8127e164b Url decode routes (#1407)
* fix a few new clippy lints

* url decode routes

* fix catch all segments

* fix clippy
2023-09-06 12:56:43 -05:00
ealmloff cfd62e274e Make deprecated use router (#1260)
* make router props expansion better

* fix router data fields

* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Evan Almloff e83866b986 fix router examples 2023-06-24 13:44:22 -07:00
Evan Almloff 1704ee0068 router/fullstack/ssr intigration 2023-06-22 16:51:48 -07:00
Evan Almloff 3a690877d1 basic incremental renderer 2023-06-21 18:36:32 -07: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 fe601e2a48 restore navigator 2023-06-01 09:45:31 -05:00
Evan Almloff ece8f0fb22 general cleanup 2023-05-31 17:12:52 -05:00
Evan Almloff 35befa1784 update tests 2023-05-31 13:57:33 -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 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
Adrian Wannenmacher f1cbfe0874 change router to use option again 2022-12-23 18:55:03 +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 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 8df588046d add use_route hook 2022-12-12 23:39:34 +01:00
Adrian Wannenmacher 9f48cab9ad add comp() and default failure components 2022-12-09 01:14:54 +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
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
Jonathan Kelley 29ed7ebece feat: connect an onchange listener 2022-01-25 15:06:37 -05:00
Alexandre Kirszenberg b6903bf558 Enable clippy 2022-01-08 16:35:26 +01:00
Jonathan Kelley 427b126bc1 feat: add prevent default attribute and upgrade router 2022-01-05 16:34:24 -05:00
Jonathan Kelley cb2782b4bb wip: memoize dom in the prescence of identical components 2022-01-05 00:27:22 -05:00
Jonathan Kelley a4f280d163 feat: more API updates 2021-12-28 23:20:01 -05:00
Jonathan Kelley cda759c659 examples: upgrade to new version of dioxus core.
also add the inline_props macro
2021-12-25 17:18:05 -05:00
Jonathan Kelley 934de21dd6 wip: miri stress tets 2021-12-18 23:03:59 -05:00
Jonathan Kelley 2fd56e7619 wip: remove portals completely 2021-12-14 21:46:19 -05:00
Jonathan Kelley 8daf7a6ed8 wip: go back to noisy lifetime solution 2021-12-14 02:27:59 -05:00
Jonathan Kelley 8814977eee wip: docs 2021-11-30 22:48:05 -05:00
Jonathan Kelley bab21a0aa1 wip: updates to router 2021-11-22 15:22:42 -05:00
Jonathan Kelley a5f05d73ac wip: docs and router 2021-11-19 00:49:04 -05:00
Jonathan Kelley 8acdd2ea83 feat: it compiles once more 2021-11-11 16:36:51 -05:00
Jonathan Kelley d298b626d3 wip: add router 2021-11-03 00:35:56 -04:00
Jonathan Kelley fd7933561f chore: move CLI into its own "studio" app 2021-07-07 16:58:23 -04:00
Jonathan Kelley 6aeea9b790 Feat: add router 2021-01-20 17:48:58 -05:00