ealmloff
937be8b752
fix the on double click event and depreciate ondblclick ( #1743 )
2024-01-03 14:02:08 -06:00
Evan Almloff
dfb118e06c
make the video streaming async
2023-12-18 09:34:30 -06:00
Evan Almloff
ec4c1e0a44
add video stream example
2023-12-18 08:32:50 -06:00
Evan Almloff
9eee4ab8f8
add a dynamic asset example
2023-12-17 17:14:55 -06:00
Evan Almloff
d627153ccc
show off the new asset system in the examples
2023-12-17 11:45:27 -06:00
Exotik850
fdce7bbe5a
Return to just TaskId
, still polling
2023-12-12 13:02:35 -06:00
kidkool850@gmail.com
69ca1fd8a7
Make cx.spawn() return an Option<TaskId>, returns None if finished immediately
2023-12-11 16:01:40 -06:00
Evan Almloff
0e3fd225a8
Merge branch 'master' into binary-protocal
2023-12-08 08:44:04 -06:00
Jonathan Kelley
f2504cec84
Merge pull request #1674 from ealmloff/better-optional-props
...
Make optional props accept Nothing, T or Option<T>
2023-12-06 21:37:39 -08:00
Jonathan Kelley
d3f6ff703c
Release 0.4.3
...
dioxus@0.4.3
dioxus-autofmt@0.4.3
dioxus-check@0.4.3
dioxus-cli@0.4.3
dioxus-core@0.4.3
dioxus-core-macro@0.4.3
dioxus-desktop@0.4.3
dioxus-fullstack@0.4.3
dioxus-hooks@0.4.3
dioxus-hot-reload@0.4.3
dioxus-html@0.4.3
dioxus-interpreter-js@0.4.3
dioxus-liveview@0.4.3
dioxus-mobile@0.4.3
dioxus-native-core@0.4.3
dioxus-native-core-macro@0.4.3
dioxus-router@0.4.3
dioxus-router-macro@0.4.3
dioxus-rsx@0.4.3
dioxus-signals@0.4.3
dioxus-ssr@0.4.3
dioxus-tui@0.4.3
dioxus-web@0.4.3
dioxus_server_macro@0.4.3
fermi@0.4.3
generational-box@0.4.3
plasmo@0.4.3
rsx-rosetta@0.4.3
Generated by cargo-workspaces
2023-12-06 16:56:35 -08:00
Jonathan Kelley
ab1fab5f50
No publish demos
2023-12-06 16:49:05 -08:00
Evan Almloff
35582e21eb
fix formatting
2023-12-01 15:32:11 -06:00
Evan Almloff
8a44fe8d03
derive query parsing in the router macro
2023-12-01 15:31:45 -06:00
Evan Almloff
533c7bab49
show more cases in the optional props example
2023-11-29 11:39:38 -06:00
Evan Almloff
be94c69f11
make optional props accept T or Option<T>
2023-11-29 11:38:28 -06:00
Evan Almloff
355cd9b19e
Merge branch 'master' into pr/atty303/1349
2023-11-20 18:37:33 -06:00
Alexander
62719c309a
fix keyboard input on calc example ( #1639 )
2023-11-14 10:39:37 -06:00
Evan Almloff
6141aeb037
polish the throw trait
2023-11-07 18:24:07 -06:00
Evan Almloff
ff7aca7617
fix todomvc
2023-10-31 13:56:27 -05:00
Evan Almloff
5fdff4b7ed
bump wry to 0.34
2023-10-31 13:49:29 -05:00
ealmloff
c84a13f164
Merge branch 'master' into bump-wry
2023-10-31 13:40:03 -05:00
Evan Almloff
77d53df532
Merge branch 'master' into pr/atty303/1349
2023-10-31 13:39:20 -05:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2
2023-10-30 15:37:29 -05:00
Jonathan Kelley
dd4547d753
Feat: add global context functions
...
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.
Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Evan Almloff
9abc390d04
bench
2023-10-20 13:21:27 -05:00
Stygmates
b836851d02
Add openidconnect authentication demo ( #1500 )
...
* Add openidconnect authentication demo
* use_atom_ref usage to have a read/write handle on the atom
* Use default
* Code rewrite to better reflect the authentication flow
* Use the env macro instead of the build.rs to load env variables
* Add env variables
* Remove unnecessary dependency
* Add env variables to the root workspace
* Update readme
* Bump openidconnect version
* Use props to pass the client to the child components
* Code clean up
---------
Co-authored-by: Truong Tan Dat <truongt@igbmc.fr>
2023-10-20 12:43:24 -05:00
Alexander
37c6c67a17
refactor todo mvc example ( #1556 )
2023-10-19 09:26:17 -05:00
Jonathan Kelley
9cdbf81a4b
fix clippy lint
2023-10-17 16:06:43 -07:00
Jonathan Kelley
65e21d7874
Change signals example a bit
2023-10-17 15:52:13 -07: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
7e2164d6d6
Add toggle
2023-10-15 17:52:01 -07:00
Jonathan Kelley
741bfbc9ac
Add toggle to signals example
2023-10-15 17:50:23 -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
Evan Almloff
cb148cc881
Merge branch 'bump-wry' into binary-protocal
2023-10-13 09:45:11 -05: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
d5b7a6d15e
fix fuzzing test
2023-10-04 08:46:24 -05:00
Amr Bashir
9f7a0a9f63
chore: tauri-mobile
-> cargo-mobile2
( #1518 )
2023-10-04 08:22:22 -05:00
Evan Almloff
ee25c03e74
fix some clippy lints
2023-09-27 10:13:45 -05:00
Evan Almloff
76a050314a
make spread example more interesting
2023-09-27 10:05:02 -05:00
Evan Almloff
b60671e0fe
fix non extending attributes
2023-09-27 10:02:49 -05:00
Evan Almloff
7b51bb8060
WIP: add extends to the props macro
2023-09-26 19:23:00 -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
31cd15d61f
fix clippy
2023-09-22 09:31:13 -05:00
Evan Almloff
5ed116b060
fix bounds on generated element extensions
2023-09-22 09:24:00 -05:00
Evan Almloff
0e0819d284
further simplify spread example
2023-09-22 09:19:54 -05:00
Evan Almloff
97035a4482
simplify spread example
2023-09-20 16:36:43 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
fa494349fe
add a lifetime to the properties trait and make the manual spread example work
2023-09-20 16:15:11 -05:00
Evan Almloff
9be7773ba7
add to tailwind example
2023-09-19 09:50:30 -05:00