Commit Graph
69 Commits
Author SHA1 Message Date
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 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Jonathan Kelley 1332b82dc8 Expose current task 2024-01-15 17:32:49 -08: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 b2860a3d73 fix diffing components 2024-01-09 11:50:41 -06:00
Evan Almloff 8eb2b74832 move mounted info to the VDOM 2024-01-09 11:01:11 -06:00
Evan Almloff 3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Evan Almloff 717f38a5ec remove some unused unsafe blocks 2024-01-05 11:45:01 -06:00
Evan Almloff 0c76770da0 remove a lot of unsafe 2024-01-05 10:57:05 -06:00
Evan Almloff c70e2bfcb6 move diffing into the global runtime 2024-01-05 09:32:50 -06:00
Evan Almloff f42ef3ef9d remove more lifetimes 2024-01-05 08:39:22 -06:00
Evan Almloff 3ad16ddd37 rip out more lifetimes 2024-01-04 18:33:01 -06:00
Evan Almloff a120af33ad Merge branch 'master' into fix-event-bubbling 2023-11-11 17:53:47 -06:00
Evan Almloff b99f081c08 drop any attribute after rendering 2023-10-25 16:37:04 -05:00
Evan Almloff 98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
Evan Almloff c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff 0032f7e2af fix miri 2023-08-04 15:23:09 -07:00
Evan Almloff a2c7b69a1d set the scope stack correctly 2023-08-04 14:19:59 -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
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 2871c8bb4d Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -07:00
Jonathan Kelley cc984fae54 Only check suspense if the component aborted rendering 2023-07-14 17:45:48 -07:00
Jonathan Kelley f0128a3150 implement suspense using simpler approach 2023-07-14 17:12:07 -07:00
Jonathan Kelley 81075748f6 add simple suspense methods 2023-07-14 16:56:17 -07:00
Jonathan Kelley cbd88bbcc3 Rip out async components 2023-07-14 16:15:20 -07:00
Jonathan Kelley 47513e8b9e Use boxes instead of bumpslab for hooks 2023-07-06 12:43:04 -07:00
Evan Almloff 82e2175500 make entry key return scopeid 2023-01-23 10:08:11 -06:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
Evan Almloff ba79d4babd don't-box-scopestates 2023-01-22 15:05:32 -06:00
Jonathan Kelley faf94c7b4e fix: make miri pass on context api 2023-01-09 13:50:33 -08:00
Evan Almloff 5b1d9c5c8d Merge branch 'upstream' into fix-non-str-attributes 2022-12-30 11:52:55 -06:00
Jonathan Kelley daa5449b6b chore: use existing scheduler 2022-12-30 02:39:47 -05:00
Jonathan Kelley bd720e2268 fix: use futuresunordered instead of bespoke waker system 2022-12-29 19:53:43 -05:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
= 1555500fbd drop any values correctly 2022-12-26 10:53:25 -06:00
Jonathan Kelley 3d69d3ea92 chore: use pending instead of async 2022-12-25 01:43:22 -05:00
Jonathan Kelley 9b0244ee5c fix: use ready nodes in more places 2022-12-25 01:37:00 -05:00
Jonathan Kelley 8e18a223e3 wip: more tweaks 2022-12-23 19:43:19 -05:00
Jonathan Kelley 2fa3fe1fc0 fix: use arcwake instead of rcwake 2022-12-20 11:13:06 -08:00
Jonathan Kelley 4d73ffa361 fix: save listeners, borrowed props, and pull back props 2022-12-16 19:54:33 -08:00
Evan Almloff b79ad4f50e Merge remote-tracking branch 'upstream/master' into optimize-templates-v3 2022-12-07 17:20:31 -06:00
Evan Almloff 08da53303d optimizations aroud preallocating 2022-12-07 08:44:54 -06:00
Jonathan Kelley 34d9aafe0e feat: overhaul ssr 2022-12-06 17:41:47 -08:00
Evan Almloff 6102902387 work on optimizing web implementation 2022-12-06 14:24:35 -06:00
Jonathan Kelley b0cccce60a feat: miri passing 2022-12-05 13:03:52 -08:00
Jonathan Kelley a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Jonathan Kelley 3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley 18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00