Commit Graph
25 Commits
Author SHA1 Message Date
Evan Almloff c9603ea984 only poll suspended futures 2024-03-05 18:24:01 -06:00
Evan Almloff 287416cfa7 rename flush_sync to wait_for_next_render 2024-03-04 19:52:17 -06:00
Evan Almloff 78b9b157dc fix formatting 2024-03-04 12:04:09 -06:00
Evan Almloff a14e5be7ad Fix effect ordering after reruns 2024-03-01 12:46:07 -06:00
Evan Almloff c431429448 fix web playwright tests 2024-02-05 15:25:51 -06:00
Jonathan Kelley 8f70a84c70 Use futures_util mutex instead of flume for sending flush lock wakeups 2024-02-02 13:09:26 -08:00
Jonathan Kelley 7c2947a131 Implement effects using reactivecontext 2024-02-01 13:21:52 -08:00
Jonathan Kelley 968f24a7b3 wip: reactive context instead of effect 2024-02-01 13:21:52 -08:00
Jonathan Kelley 0bd9692e45 Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -08:00
Jonathan Kelley dcdada542b Properly implement wait_for_suspense
Wait_for_suspense now does not call flush_sync, making it
appropriate for deferring effects on the server. Futures will
still run on the server (as needed to progress suspense)
but use_effect / and memo watchers will not run on the server
2024-01-29 14:12:05 -08:00
Jonathan Kelley 1847c737e9 Queue effects to run after flush_sync 2024-01-28 02:21:05 -08:00
Jonathan Kelley 7e4a1e9c7c Move methods 2024-01-28 01:30:59 -08:00
Jonathan Kelley 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Jonathan Kelley c0522bc152 cargo check all 2024-01-23 16:58:29 -08:00
Jonathan Kelley 3008870818 Cleanup runtime code 2024-01-16 17:38:39 -08:00
Evan Almloff b58eb04278 Fix basic routers 2024-01-16 14:39:48 -06:00
Jonathan Kelley bb750f5336 Fix effect stack issue 2024-01-15 20:45:59 -08:00
Jonathan Kelley a32ae8b112 Remove push_future, get use_future kinda working again 2024-01-15 19:34:04 -08:00
Jonathan Kelley 14651a3573 Change context api to panic with nice error message 2024-01-15 18:02:58 -08:00
Evan Almloff 01726d6656 remove once, restore use_hook 2024-01-15 09:05:46 -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
Evan Almloff 6c29e2b825 clean up some core context APIs 2024-01-11 17:21:13 -06:00
Evan Almloff bcbb647d02 fix constructing no argument components 2024-01-11 11:44:18 -06: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