Commit Graph
46 Commits
Author SHA1 Message Date
Evan Almloff 8f786d85cd drop hooks before contexts 2024-01-22 09:08:29 -06:00
Evan Almloff bc914deeaa create Signal::global 2024-01-19 13:46:17 -06:00
Jonathan Kelley 127709f83f Tiny aesthetic tweaks 2024-01-18 10:59:43 -08:00
Jonathan Kelley 3008870818 Cleanup runtime code 2024-01-16 17:38:39 -08:00
Jonathan Kelley 8b9bf57c03 Cleanup core more 2024-01-16 17:23:34 -08:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff 7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Jonathan Kelley a32ae8b112 Remove push_future, get use_future kinda working again 2024-01-15 19:34:04 -08:00
Jonathan Kelley ee5020c41f actually set task 2024-01-15 17:37:50 -08:00
Jonathan Kelley 1332b82dc8 Expose current task 2024-01-15 17:32:49 -08:00
Evan Almloff af1749d7be re export renderers in dioxus 2024-01-15 19:14:11 -06:00
Evan Almloff 16d5d00bdf fix ssr tests 2024-01-15 11:12:24 -06:00
Evan Almloff 20480c0a2d fix use_hook imports 2024-01-15 09:10:15 -06:00
Jonathan Kelley fae0b08e61 Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Jonathan Kelley 8c94f0bc4a get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley 2ae3241cc0 Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff 6c29e2b825 clean up some core context APIs 2024-01-11 17:21:13 -06:00
Evan Almloff 3267ddec10 more consistent naming of the root component in core 2024-01-11 15:23:37 -06:00
Evan Almloff fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Jonathan Kelley b8061d6d14 Make clippy happy 2024-01-10 23:26:26 -08:00
Evan Almloff 3545c14a38 fix formatting 2024-01-09 11:36:45 -06:00
Jonathan Kelley 8323e45970 Call handlers from context of a runtime and scope 2024-01-05 17:35:37 -08:00
Evan Almloff 4013341b6c hello world example working 2024-01-05 18:01:05 -06:00
Evan Almloff 3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Evan Almloff d90c71c508 move creation functions into the structs they are creating and unify user and system events 2024-01-05 13:18:48 -06:00
Evan Almloff a4a9aa5224 create a global once function 2024-01-05 12:31:20 -06:00
Evan Almloff 32b15fc851 make core compile 2024-01-05 12:25:18 -06:00
Evan Almloff c70e2bfcb6 move diffing into the global runtime 2024-01-05 09:32:50 -06:00
Evan Almloff 3ad16ddd37 rip out more lifetimes 2024-01-04 18:33:01 -06:00
Jonathan Kelley ea1325f6e8 Merge branch 'master' into polish-throw 2024-01-04 10:27:51 -08:00
ealmloff 2e424436b3 don't remove futures spawned by spawn_forever when the component is removed (#1708) 2024-01-03 14:02:36 -06:00
Evan Almloff 6141aeb037 polish the throw trait 2023-11-07 18:24:07 -06:00
Evan Almloff 248d78fbfe fix clippy 2023-10-05 15:45:34 -05:00
Evan Almloff bc3b781136 fix runtime import 2023-09-10 13:25:19 -05:00
Evan Almloff 66333e9767 improve context tracing 2023-09-08 10:00:05 -05:00
Jani MustonenandJani Mustonen 31f8bab20d Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff 4ee4cf23d3 restore a few unneeded breaking changes 2023-08-08 13:37:29 -07:00
Evan Almloff 69dab86873 add selector example to readme 2023-08-08 13:27:45 -07:00
Evan Almloff ba7a663eb6 fix some ownership issues 2023-08-08 13:18:15 -07:00
Evan Almloff 292b3367dd create some more compelling examples 2023-08-07 18:20:03 -07:00
Evan Almloff 0c17bdb737 don't subscribe in tasks or event handlers 2023-08-07 17:55:29 -07:00
Evan Almloff b0d499036a make future handling functions global 2023-08-07 11:16:22 -07:00
Evan Almloff dce418140a create a way to hoist ownership to a different scope 2023-08-04 17:50:05 -07:00
Evan Almloff 0be5dbe715 fix the context API 2023-08-04 14:42:19 -07:00
Evan Almloff cb4c46154d fix scope context 2023-08-04 14:12:59 -07:00
Evan Almloff 04cdb14e5b improve signal copy runtime 2023-08-04 13:53:05 -07:00