Evan Almloff
162b033c36
provide feature hints for the dioxus crate as well
2024-02-09 12:23:57 -06:00
Jonathan Kelley
7c2947a131
Implement effects using reactivecontext
2024-02-01 13:21:52 -08:00
Evan Almloff
aa03a6316a
remove Rc from the Component type alias
2024-01-30 12:29:47 -06: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
c3555a7ec0
fix Option<String> in props
2024-01-24 16:40:14 -06:00
Jonathan Kelley
c0522bc152
cargo check all
2024-01-23 16:58:29 -08:00
Evan Almloff
25ad3da659
remove some generics from LaunchBuilder
2024-01-17 20:15:16 -06:00
Evan Almloff
499e81fa82
fix fullstack send bound
2024-01-17 15:46:29 -06:00
Jonathan Kelley
3008870818
Cleanup runtime code
2024-01-16 17:38:39 -08:00
Jonathan Kelley
374c7d0cd8
Cleanup more of core
2024-01-16 17:14:19 -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
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
af1749d7be
re export renderers in dioxus
2024-01-15 19:14:11 -06:00
Evan Almloff
940108f242
fix hydration
2024-01-15 13:23:35 -06:00
Evan Almloff
20480c0a2d
fix use_hook imports
2024-01-15 09:10:15 -06: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
fae0b08e61
Fix the router and stub out a number of crates to get compiling
2024-01-13 20:51:37 -08:00
Evan Almloff
fd0a53ab63
make all core tests compile
2024-01-11 15:18:11 -06:00
Evan Almloff
4a1a00b0f0
fix dioxus ssr
2024-01-10 17:57:15 -06:00
Evan Almloff
3545c14a38
fix formatting
2024-01-09 11:36:45 -06:00
Evan Almloff
b43dfb1f67
fix mounted information
2024-01-09 11:35:55 -06:00
Evan Almloff
aed29b1dec
separate mount information from VNodes
2024-01-09 10:09:08 -06:00
Evan Almloff
aefa8a2431
use boxed slices instead of vecs where possible
2024-01-07 13:41:39 -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
Evan Almloff
a4a9aa5224
create a global once function
2024-01-05 12:31:20 -06:00
Evan Almloff
35b461cd09
switch to a mutations trait to fix some lifetime issues
2024-01-05 11:44:07 -06:00
Evan Almloff
0c76770da0
remove a lot of unsafe
2024-01-05 10:57:05 -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
6141aeb037
polish the throw trait
2023-11-07 18:24:07 -06:00
Jonathan Kelley
e819702fc5
Add into_vnode temporary logic for more things
...
This commit adjusts how rsx! works, making it more forgiving with signals.
Notably, we add the temporaries to if chains too.
2023-10-17 15:42:21 -07:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs ( #1536 )
...
* Include README in docs.rs and add Dioxus logo
* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff
b9a92a1bd8
fix core exports
2023-09-17 20:03:58 -05:00
Evan Almloff
9496853fbc
expose public methods for manipulating the global runtime
2023-09-08 10:05:58 -05: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
04cdb14e5b
improve signal copy runtime
2023-08-04 13:53:05 -07:00
Jonathan Kelley
68253b49d7
cargo fmt
2023-07-14 17:46:14 -07:00
Jonathan Kelley
81075748f6
add simple suspense methods
2023-07-14 16:56:17 -07:00
Jonathan Kelley
a6c13c8ad0
Move event return to HTML crate
2023-02-08 15:51:28 -08:00
Jonathan Kelley
9ebafc46bb
feat: allow 'static futures to be spawned from handlers
2023-02-06 00:54:08 -08:00
Evan Almloff
696109db10
implement hydration
2023-01-31 14:10:48 -06:00