Commit Graph
54 Commits
Author SHA1 Message Date
Evan Almloff 5290b658fd Fix effects triggered from async tasks; improve work scheduling docs (#2370)
* outline work scheduling

* move scheduling code from dirty_scope to scheduler

* introduce queue_effect

* Run effects after all tasks are polled if there are no components rerendered

* add a new test for async effects
2024-05-04 15:30:13 +01:00
Jonathan Kelley 95bd17e38f wip: more raw ptrs 2021-11-05 18:02:44 -04:00
Jonathan Kelley 70b983d090 wip: consolidation, simplification 2021-11-05 16:28:08 -04:00
Jonathan Kelley b56ea6c9a9 wip: work on scheduler, async, coroutines, and merge scope into context 2021-11-03 19:55:02 -04:00
Jonathan Kelley ba9e1dbb8f fix: messed up how lifetimes worked, need to render once per component 2021-10-29 21:43:21 -04:00
Jonathan Kelley db0004758c Merge branch 'master' into jk/remove_node_safety 2021-10-28 17:09:51 -04:00
Jonathan Kelley fda2ebc2a2 feat: improve safety 2021-10-25 15:05:17 -04:00
Alexandre Kirszenberg 5747e00b27 Various typos/grammar/rewording 2021-10-24 19:30:36 +02:00
Jonathan Kelley 478255f40d fix: all the bugs! 2021-10-11 18:40:00 -04:00
Jonathan Kelley da4423c141 bugs: fix web list issue 2021-10-10 22:27:08 -04:00
Jonathan Kelley 4a0bb8cf84 wip: portals 2021-10-08 16:01:13 -04:00
Jonathan Kelley efd0e9b564 feat: support desktop more completely 2021-10-05 03:37:15 -04:00
Jonathan Kelley 7a03c1d2b4 wip: overhaul event system 2021-10-04 01:28:04 -04:00
Jonathan Kelley 1a2f91ed91 polish: examples 2021-09-24 00:05:56 -04:00
Jonathan Kelley 4b6ca05f2c wip: performance looks good, needs more testing 2021-09-22 04:11:27 -04:00
Jonathan Kelley d7940aa2ac feat: proper handling of events 2021-09-22 02:44:01 -04:00
Jonathan Kelley 098d3821ed wip: changes to scheduler 2021-09-22 01:25:28 -04:00
Jonathan Kelley b32e2611e3 polish: clean up warnings 2021-09-21 18:13:09 -04:00
Jonathan Kelley 7978a17419 wip: bubbling 2021-09-20 12:32:21 -04:00
Jonathan Kelley c16b92ee7e wip: before scheduler simplify 2021-09-19 22:10:00 -04:00
Jonathan Kelley 9971ff215d polish: change in cx to cx 2021-09-16 13:20:04 -04:00
Jonathan Kelley ff1398b943 wip: polish up some safety stuff and add suspense support in 2021-09-13 18:55:43 -04:00
Jonathan Kelley 79e8df26f5 wip: fix props update 2021-09-13 12:42:38 -04:00
Jonathan Kelley 5a09ec1610 wip: more clean up 2021-09-13 01:14:09 -04:00
Jonathan Kelley 8b3ac0b57c perf: remove global allocation for props 2021-09-13 00:59:08 -04:00
Jonathan Kelley 369b36b2c6 wip: change around how deadline works 2021-09-09 21:01:38 -04:00
Jonathan Kelley da8159190b polish: tests and documentation 2021-09-09 20:58:48 -04:00
Jonathan Kelley 725b4a1d7f wip: fix some event stuff for web and core 2021-09-02 00:37:57 -04:00
Jonathan Kelley dfe9f86bff wip: garbage collection 2021-09-02 00:16:49 -04:00
Jonathan Kelley 44b4384961 wip: more scheduler work 2021-09-01 23:33:25 -04:00
Jonathan Kelley 1cd5e69712 wip: more work on scheduler 2021-09-01 23:22:34 -04:00
Jonathan Kelley c321532a6c feat: some docs, cleaning 2021-09-01 00:57:04 -04:00
Jonathan Kelley 5cbdc571e3 more cleanup 2021-08-31 12:28:44 -04:00
Jonathan Kelley 9f99f46cfd wip: more cleanup in scheduler 2021-08-27 09:56:49 -04:00
Jonathan Kelley 927b05f358 wip: cleanup public apis 2021-08-27 09:40:04 -04:00
Jonathan Kelley 8b0eb87c72 wip: refactor 2021-08-26 22:05:09 -04:00
Jonathan Kelley 9ad5e49654 wip: algo for scheduler finished 2021-08-26 17:05:28 -04:00
Jonathan Kelley 5f63eda294 wip: feeling goodish about scheduler 2021-08-26 03:33:38 -04:00
Jonathan Kelley bcaa76a37f wip: some structure 2021-08-26 02:41:30 -04:00
Jonathan Kelley ac3a7b1fbc wip: considering making vdom passed verywehre 2021-08-26 01:52:50 -04:00
Jonathan Kelley d4d7114beb wip: more work on scheduler 2021-08-25 17:17:44 -04:00
Jonathan Kelley 07efb6a1b6 wip: it compiles again 2021-08-25 17:09:16 -04:00
Jonathan Kelley 41cc42919d wip: more overhaul on virtualevents 2021-08-25 16:40:18 -04:00
Jonathan Kelley cef116aa3a wip: more work on priority 2021-08-25 15:54:33 -04:00
Jonathan Kelley 05e960b6b0 wip: refactor to fix some ownership quirks 2021-08-25 12:42:50 -04:00
Jonathan Kelley 3bf19d8106 wip: more work on web
this commit adds complete event support for web-sys but with a few hole
2021-08-25 10:49:18 -04:00
Jonathan Kelley db6d0184aa feat: dedicated mutations module 2021-08-22 17:08:25 -04:00
Jonathan Kelley 64f289a61c wip: back to vnode enum 2021-08-20 10:34:41 -04:00
Jonathan Kelley 9652ccdcf1 wip: move from recursive to iterative 2021-08-19 02:50:35 -04:00
Jonathan Kelley f41cff571f wip: working on async diff 2021-08-17 22:25:09 -04:00