Jonathan Kelley
8a77d2560e
fix tests around children elements
2024-01-10 23:42:36 -08:00
Jonathan Kelley
b8061d6d14
Make clippy happy
2024-01-10 23:26:26 -08:00
Jonathan Kelley
593527d58b
fix final test
2024-01-10 23:18:47 -08:00
Jonathan Kelley
f1e8faffb5
fix tests
2024-01-10 23:17:01 -08:00
Jonathan Kelley
fa9d92f956
Fix tests for autofmt
2024-01-10 22:41:40 -08:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies
2024-01-10 19:33:34 -08:00
Jonathan Kelley
b8fac44537
Clean up merge comments
2024-01-08 19:33:39 -08:00
Jonathan Kelley
23f7a37b06
Clean up merge conflicts
2024-01-08 19:31:57 -08:00
Jonathan Kelley
44a27bf8a3
Fix leak in render macro
2024-01-08 19:20:31 -08:00
Evan Almloff
0a35b5a670
fix render macro
2024-01-08 19:04:56 -08:00
Evan Almloff
b180b501f7
Merge branch 'master' into fullstack-binary-size-compile-times
2024-01-08 13:18:05 -06:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Jonathan Kelley
c1d9553e49
Merge pull request #1624 from Erithax/rename_into_node_traits
...
rename IntoDynNode and IntoTemplate traits
2024-01-04 10:25:49 -08:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Jonathan Kelley
922d9c8c05
Merge branch 'master' into fix-event-bubbling
2024-01-04 10:06:27 -08:00
abhi
fd7c9e0359
fix empty render causing panic ( #1769 ) ( #1774 )
...
* fix empty render causing panic (#1769 )
* use an default root column instead of an empty root column
* fix formatting
* restore create.rs in core
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-01-02 10:02:58 -06:00
ealmloff
56478d1856
Merge branch 'DioxusLabs:master' into fix-event-bubbling
2023-12-16 06:34:00 -06:00
Exotik850
fc31876a57
Wasm target check before build ( #1689 )
...
* Add `rustup show` check for wasm32 target
* better place for check
* fmt
* clippy fmt
2023-12-07 12:35:16 -06:00
Evan Almloff
23090cb56b
optimize fullstack compile times
2023-11-21 14:46:47 -06:00
Evan Almloff
0ee21dff1e
fix missing item in hot reloading diffing
2023-11-20 09:33:39 -06:00
Evan Almloff
a120af33ad
Merge branch 'master' into fix-event-bubbling
2023-11-11 17:53:47 -06:00
Erithax
c2749b3371
rename IntoDynNode and IntoTemplate traits
2023-11-09 02:00:36 +01:00
Evan Almloff
46fec1ae48
fix clippy
2023-11-02 13:46:57 -05:00
Evan Almloff
77d53df532
Merge branch 'master' into pr/atty303/1349
2023-10-31 13:39:20 -05: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
Jonathan Kelley
14b3fa72e4
Change the semantics of exprs/for loops allocations strategy
...
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.
Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.
2023-10-15 17:40:56 -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
7f0fa07757
fix hot reloading
2023-10-04 09:11:21 -05:00
Evan Almloff
3e55bb8885
fix some clippy lints
2023-09-27 10:21:33 -05:00
Evan Almloff
ee25c03e74
fix some clippy lints
2023-09-27 10:13:45 -05:00
Evan Almloff
5b65c4cfb4
implement spreading props in the rsx macro
2023-09-22 10:04:34 -05:00
Evan Almloff
9e167dfdb7
Merge branch 'many_optional_attributes' into pr/atty303/1349
2023-09-22 09:32:05 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
fc8c25280a
allow many attributes to be attached to one element
2023-09-20 16:02:04 -05:00
Evan Almloff
dc446b5e5b
fix extending an element
2023-09-19 16:38:27 -05:00
Evan Almloff
561830d814
fix merging static attributes
2023-09-19 10:20:42 -05:00
Evan Almloff
c0f345e775
add if statements to test and rsx usage example
2023-09-19 09:48:56 -05:00
Evan Almloff
ab2b9fb34e
fix autoformatting
2023-09-19 09:39:53 -05:00
Evan Almloff
d297e2baa2
Add optional attributes
2023-09-18 19:50:02 -05:00
Evan Almloff
98335bd9a6
Merge branch 'master' into fix-event-bubbling
2023-09-17 20:00:22 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4
2023-09-16 19:03:27 +02:00
Evan Almloff
9f1c735cf1
combine style and class attributes when there are multiple
2023-09-14 16:40:49 -05:00
Evan Almloff
be4b0c801a
fix raw attributes with dynamic values
2023-09-14 16:10:48 -05:00
Evan Almloff
30b124189c
fix raw attribute names
2023-09-14 15:56:17 -05:00
Evan Almloff
8c47dfaf78
clean up attribute parsing
2023-09-14 14:08:39 -05:00
Evan Almloff
35b643e23f
switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent
2023-09-11 15:55:58 -05:00
Evan Almloff
e337aff0a4
WIP split element from element ref
2023-08-23 10:48:10 -05:00
Evan Almloff
943c76b1da
Fix memory leak in core
2023-08-15 12:19:05 -05:00
Koji AGAWA
d573f5dfd5
feat: props spread
2023-08-13 16:45:17 +09:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00