Commit Graph
463 Commits
Author SHA1 Message Date
Evan Almloff 476b2ac88a fix client side suspense 2024-02-12 08:56:27 -06:00
Evan Almloff 162b033c36 provide feature hints for the dioxus crate as well 2024-02-09 12:23:57 -06:00
Jonathan Kelley 7e54039ed2 fix make tests 2024-02-05 12:24:59 -08:00
Jonathan Kelley f44b72f5e1 server_future uses use_resource 2024-02-02 14:08:21 -08:00
Jonathan Kelley 0fd7799bc2 disable use_future on the server 2024-02-02 13:36:19 -08: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 cef64d43df move hooks out of signals crate 2024-01-29 17:02:26 -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 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Evan Almloff c3edf99b63 make anyprops and vprops private again 2024-01-25 09:32:36 -06:00
Evan Almloff c172914b21 drop scopes in order when dropping the virtual dom 2024-01-23 11:40:45 -06:00
Evan Almloff 25ad3da659 remove some generics from LaunchBuilder 2024-01-17 20:15:16 -06:00
Evan Almloff ae3e167cfe make fullstack hello world compile 2024-01-17 16:58:03 -06:00
Evan Almloff 499e81fa82 fix fullstack send bound 2024-01-17 15:46:29 -06:00
Evan Almloff dab87c0144 try not double boxing 2024-01-17 15:07:45 -06:00
Evan Almloff d28221bdc2 unqueue tasks when a scope is dropped 2024-01-17 08:36:39 -06:00
Evan Almloff 701093ede5 Try to rerun all dirty scopes before polling any tasks to fix effect ordering 2024-01-17 08:17:30 -06:00
Jonathan Kelley c3d810bcd0 Little bit more cleanup in core 2024-01-16 18:07:29 -08:00
Jonathan Kelley 9d0d5d74f6 Remove last bit of unsafe 2024-01-16 17:52:59 -08:00
Jonathan Kelley 8b9bf57c03 Cleanup core more 2024-01-16 17:23:34 -08:00
Jonathan Kelley 374c7d0cd8 Cleanup more of core 2024-01-16 17:14:19 -08:00
Jonathan Kelley 9f595171ce Remove boxedanyprops abstraction 2024-01-16 16:09:59 -08:00
Jonathan Kelley 3fb7c359c2 Rename to component function 2024-01-16 15:09:44 -08:00
Jonathan Kelley c94af9538b Remove phantom markers and just default to Rc<dyn Fn(props) -> Element> where it makes sense 2024-01-16 15:07:22 -08:00
Evan Almloff 7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Evan Almloff ef553a2cb2 unbox component functions 2024-01-16 07:48:32 -06: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
Jonathan Kelley 6134a2ce24 Clean up a number of examples 2024-01-15 13:06:05 -08:00
Evan Almloff 36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06:00
Jonathan Kelley 9881a94e67 Remove cx in more places 2024-01-13 21:18:36 -08:00
Jonathan Kelley 1dde044697 remove cx.render 2024-01-13 21:12:21 -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
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
Jonathan Kelley 4f077ec664 Merge pull request #1812 from ealmloff/duplicate-event-listener-rsx
check for duplicate event listeners in the rsx macro
2024-01-11 14:34:01 -08: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
Evan Almloff 1794debf79 fix components that take no arguments 2024-01-11 11:11:44 -06:00
Evan Almloff 404c864246 make the root component take no arguments 2024-01-11 10:48:04 -06:00
Evan Almloff 9b5a797008 check for duplicate event listeners in the rsx macro 2024-01-11 10:34:08 -06:00
Jonathan Kelley 8a77d2560e fix tests around children elements 2024-01-10 23:42:36 -08:00
Evan Almloff 55f76fede6 work on fixing some core tests 2024-01-10 19:21:15 -06:00
Evan Almloff 4a1a00b0f0 fix dioxus ssr 2024-01-10 17:57:15 -06:00
Evan Almloff d8e79b656b remove an extra clone 2024-01-09 14:27:25 -06:00
Evan Almloff b43dfb1f67 fix mounted information 2024-01-09 11:35:55 -06:00
Evan Almloff 967c082085 clippy fix 2024-01-09 11:02:07 -06:00
Evan Almloff 8eb2b74832 move mounted info to the VDOM 2024-01-09 11:01:11 -06:00