Commit graph

730 commits

Author SHA1 Message Date
Jonathan Kelley
bb5ecd779f
clean up some examples, ensuring stuff works 2024-03-06 19:50:07 -08:00
Jonathan Kelley
81f38a0bc5
cfg out globalhotkey 2024-03-06 16:42:45 -08:00
Jonathan Kelley
f7f416ee3a
Fix hydration 2024-03-06 12:19:59 -08:00
Evan Almloff
da4d9c70e8 fix memo chain example 2024-03-06 11:42:31 -06:00
Evan Almloff
492f0329bf remove flume, implement lazier memos 2024-03-06 11:38:28 -06:00
Jonathan Kelley
95d7012c8d
fix hashing system, bump wasm-bindgen 2024-03-06 02:00:24 -08:00
Jonathan Kelley
4b2e426958
clippy, and don't hash invisible files for ts generation 2024-03-05 22:38:38 -08:00
Jonathan Kelley
78d16536a7
wip: native file handles when dropping 🎉 2024-03-05 13:57:28 -08:00
Jonathan Kelley
403e8e2f49
Clean up file uploads in desktop/liveview, remove minify 2024-03-05 13:00:27 -08:00
Jonathan Kelley
56a365742c
clean up native js more 2024-03-05 12:08:33 -08:00
Jonathan Kelley
16b38e339d
Merge branch 'main' into jk/fix-form-inputs 2024-03-04 17:46:38 -08:00
Jonathan Kelley
199173a409
fix navigating when files are dropped 2024-03-01 23:37:46 -08:00
andrey
c9f04ac3d0 remove things that werent meant to be in last commit 2024-02-28 11:45:08 +08:00
andrey
70136b22ea Fix error in examples/future.rs comments, use_futures inline docs comments, also added clarification that Signal<T>.read() and Singal<T>() are the same thing 2024-02-28 11:42:04 +08:00
Jonathan Kelley
53cafefdef
wip: add tests and slightly refactor interpreter code 2024-02-23 17:38:04 -08:00
Jonathan Kelley
c5096ff5bc
add gitignore to tailwind 2024-02-22 08:53:37 -08:00
Jonathan Kelley
0ae0929691
fix: some simple formatting and version numbers 2024-02-21 14:32:19 -08:00
Jonathan Kelley
f9eabbe8ef
clippy!! 2024-02-18 21:29:10 -08:00
Jonathan Kelley
a454f2c7ac
Merge pull request #1941 from jereanon/fix/25-examples-repo
Address discrepancies between examples repo and examples
2024-02-15 18:06:24 -08:00
Jeremy Arnold
b7cc7438eb update readme to remove dead examples 2024-02-14 15:26:52 -08:00
Jeremy Arnold
6e2b0e5a55 image_generator_open_ai example project 2024-02-14 15:21:32 -08:00
Jonathan Kelley
cbadea022a
Eval should never return an error
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00
Jonathan Kelley
72bef223cd
Fix rsx_usage example 2024-02-14 14:00:07 -08:00
Jeremy Arnold
89ae287fed add weather_app to examples, update for 0.5 2024-02-14 13:56:26 -08:00
Jonathan Kelley
cdae3d67f7
Make clippy happy on examples 2024-02-14 13:50:10 -08:00
Jonathan Kelley
cfc119cce2
Update more examples, add css for more examples 2024-02-14 13:48:58 -08:00
Jonathan Kelley
bdbae8ccb0
Update examples, add css 2024-02-14 12:33:07 -08:00
Evan Almloff
3270f7341a fix manganis support for dioxus desktop 2024-02-06 11:39:30 -06:00
Jonathan Kelley
69e4ebe4ed
Fix suspense on resource 2024-02-05 11:59:50 -08:00
Jonathan Kelley
8b489db5ac
fix readme 2024-02-02 15:03:46 -08:00
Jonathan Kelley
6bde8b0ce0
fix use_effect_with_deps 2024-02-02 14:49:33 -08:00
Jonathan Kelley
3295935de7
Fix panic on pausing dead tasks 2024-02-02 14:33:02 -08:00
Jonathan Kelley
ee19df55c7
fix calculator 2024-02-02 14:22:31 -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
Evan Almloff
79501e43c1 revert readme example to the simple counter 2024-02-02 14:49:17 -06:00
Jonathan Kelley
dd06705ff1
implement use_async_memo with reactive context 2024-02-01 13:21:53 -08:00
Jonathan Kelley
7c2947a131
Implement effects using reactivecontext 2024-02-01 13:21:52 -08:00
Jonathan Kelley
0c71b95e82
skeleton of use_server_future with reactivity 2024-02-01 13:21:52 -08:00
Jonathan Kelley
44966efde2
use_future works 2024-01-31 16:56:58 -08:00
Jonathan Kelley
6818bbe10a
Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 2024-01-31 16:33:53 -08:00
Jonathan Kelley
8f07d881a6
Switch todo!() to unreachable!/unimplemented! where it matters 2024-01-31 16:26:20 -08:00
Jonathan Kelley
a14789eebc
rename inner on event to data 2024-01-31 16:26:19 -08:00
Jonathan Kelley
69f9bb6b65
Make benches compile 2024-01-30 18:29:49 -08:00
Jonathan Kelley
a72c035de4
Fix cargo check on examples 2024-01-30 17:59:57 -08:00
Jonathan Kelley
0bd9692e45
Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -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
Evan Almloff
1f88103dca only implement T -> Readonlysignal 2024-01-29 15:57:23 -06:00
Evan Almloff
1c67585ba2 restore readme.rs 2024-01-29 13:37:00 -06:00
Evan Almloff
50e3216d8b convert T into signals automatically 2024-01-29 13:36:39 -06:00
Jonathan Kelley
1847c737e9
Queue effects to run after flush_sync 2024-01-28 02:21:05 -08:00
Jonathan Kelley
974680796f
add test cases, refactor deref 2024-01-26 23:05:40 -08:00
Jonathan Kelley
d34538f4da
Add memochain example 2024-01-26 22:33:41 -08:00
Jonathan Kelley
b0b7de3692
Update signals example 2024-01-24 15:53:39 -08:00
Evan Almloff
c3555a7ec0 fix Option<String> in props 2024-01-24 16:40:14 -06:00
Jonathan Kelley
d092f7f19f
Fix effect by using a set_inner 2024-01-24 12:21:14 -08:00
Jonathan Kelley
3a5cbae5ee
Rename two files 2024-01-23 17:00:49 -08:00
Jonathan Kelley
c0522bc152
cargo check all 2024-01-23 16:58:29 -08:00
Evan Almloff
a5e61b0765 Merge branch 'breaking' of https://github.com/Demonthos/dioxus into breaking 2024-01-23 18:46:25 -06:00
Evan Almloff
f2e48f10e9 simplify the crm example a bit more 2024-01-23 18:46:24 -06:00
Jonathan Kelley
c8e4c96762
Fix panic in demo 2024-01-23 16:45:58 -08:00
Jonathan Kelley
e9978c119f
Don't strip the prefix from custom assets 2024-01-21 13:38:25 -08:00
Jonathan Kelley
028f499bf6
Fix generational box in release mode 2024-01-21 12:46:19 -08:00
Jonathan Kelley
06d9b575b7
rename use_selector to use_memo 2024-01-20 23:32:12 -08:00
Jonathan Kelley
3ded0f5329
Make more examples cross-platform 2024-01-20 00:11:55 -08:00
Jonathan Kelley
552ce92c64
Don't make query_segments special 2024-01-19 22:27:54 -08:00
Jonathan Kelley
83462badd1
tweak crm 2024-01-19 17:06:46 -08:00
Jonathan Kelley
85c7c22619
Make router work on web 2024-01-19 16:36:40 -08:00
Jonathan Kelley
b0038bb24b
Tweak crm example 2024-01-19 15:59:51 -08:00
Jonathan Kelley
60f5697e8e
Fix global signal owner 2024-01-19 15:48:21 -08:00
Jonathan Kelley
83bce6ce97
Make cargo check --all --examples work! 2024-01-19 14:19:49 -08:00
Evan Almloff
c859ed3b12 create global selectors 2024-01-19 15:26:28 -06:00
Evan Almloff
bc914deeaa create Signal::global 2024-01-19 13:46:17 -06:00
Jonathan Kelley
6ed3aafb2f
Get cargo check --all working 2024-01-18 19:27:55 -08:00
Jonathan Kelley
d8af9b7ed1
Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Jonathan Kelley
3506b3ea72
Make http a required feature for a number of examples 2024-01-18 12:50:25 -08:00
Jonathan Kelley
84e82fc3e2
Make router configed-by-platform 2024-01-18 12:41:19 -08:00
Jonathan Kelley
b8adfb9293
Make magnansis a feature for examples 2024-01-18 12:36:42 -08:00
Jonathan Kelley
451a2b6cfc
Trim off 150 deps for examples 2024-01-18 12:32:01 -08:00
Evan Almloff
b165d707c4 Merge branch 'breaking' of https://github.com/Demonthos/dioxus into breaking 2024-01-18 10:20:35 -06:00
Evan Almloff
aa30079633 fix router examples 2024-01-18 09:38:53 -06:00
Jonathan Kelley
1b65ee8501
Tweak launch cfg 2024-01-18 03:03:17 -08:00
Jonathan Kelley
d4d7cb11f5
Remove all_css example 2024-01-17 19:03:28 -08:00
Jonathan Kelley
8918bf9463
Make the calculator more beautiful 2024-01-17 19:01:28 -08:00
Jonathan Kelley
1df329bda4
Fix router examples 2024-01-17 18:41:31 -08: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
Evan Almloff
ecf17b351c finish fixing router 2024-01-16 16:24:44 -06:00
Evan Almloff
341bc7f6a1 remove duplicate blog in the router example 2024-01-16 15:54:09 -06:00
Evan Almloff
b58eb04278 Fix basic routers 2024-01-16 14:39:48 -06:00
Evan Almloff
e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff
90d0164b9e fix formatted strings in components 2024-01-16 12:47:23 -06:00
Evan Almloff
407a82588a fix more examples 2024-01-16 12:28:21 -06:00
Evan Almloff
db35a9b48c add platform specific functions for launching apps for workspaces 2024-01-16 11:45:02 -06:00
Evan Almloff
8d14671520 fix spreading attributes 2024-01-16 11:04:37 -06:00
Evan Almloff
d2cdcc602b impl ComponentFunction for Routes 2024-01-16 09:40:17 -06:00
Evan Almloff
7e4d2debe0 implement launch builder for the desktop and web platforms 2024-01-16 08:42:16 -06:00
Jonathan Kelley
98bd78de43
Fix issue with mutability in component macro 2024-01-15 23:57:10 -08:00
Jonathan Kelley
8559984e9d
and mut bound to mut methods on signals 2024-01-15 23:24:59 -08:00
Jonathan Kelley
f1596bf5e8
Adjust example 2024-01-15 22:14:58 -08:00
Jonathan Kelley
d88561f973
Adjust impl for signal syntax to allow cloned values 2024-01-15 21:43:30 -08:00