Evan Almloff
8d14671520
fix spreading attributes
2024-01-16 11:04:37 -06:00
Evan Almloff
af1749d7be
re export renderers in dioxus
2024-01-15 19:14:11 -06:00
Evan Almloff
36e9eb1160
partially restore spreading attributes
2024-01-14 15:21:19 -06:00
Jonathan Kelley
e801007698
Clean up some bits
2024-01-11 17:36:00 -08:00
Jonathan Kelley
3f15612c8e
Fix remaining issues to get desktop running
2024-01-11 17:30:50 -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
Jonathan Kelley
8ff13c3c1b
Fix some basic clippy stuff
2024-01-11 12:13:38 -08:00
Jonathan Kelley
1527b81e02
Components participate in event handlers
2024-01-11 12:11:27 -08:00
Jonathan Kelley
8881b8a473
Use error instead of panic for span location in rsx macro shorthand
2024-01-11 11:37:12 -08:00
Evan Almloff
9b5a797008
check for duplicate event listeners in the rsx macro
2024-01-11 10:34:08 -06:00
Jonathan Kelley
aff5259654
Allow children shorthand in components
2024-01-10 23:52:38 -08:00
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
Evan Almloff
d1b9703ee7
fix release mode
2024-01-09 10:24:02 -06: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
c9bd5a4e6e
look out for a simple to optimize format case
2024-01-07 17:02:49 -06:00
Evan Almloff
aefa8a2431
use boxed slices instead of vecs where possible
2024-01-07 13:41:39 -06:00
Evan Almloff
ce902e4586
fix creating EventHandler in a component
2024-01-07 09:18:45 -06:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Evan Almloff
4013341b6c
hello world example working
2024-01-05 18:01:05 -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