Commit Graph
100 Commits
Author SHA1 Message Date
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 1145ed7534 Merge pull request #1933 from ealmloff/restore-rendering-check
Only subscribe scopes to signals when rendering
2024-02-14 14:29:08 -08:00
Jonathan Kelley 77c80ea715 Merge pull request #1939 from DioxusLabs/jk/examples-overhaul
Add more examples, document examples, add css to most examples
2024-02-14 14:28:56 -08:00
Jonathan Kelley 72bef223cd Fix rsx_usage example 2024-02-14 14:00:07 -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 739ffaeb4f Merge pull request #1934 from ealmloff/warn-no-renderers-enabled
Warn the user if they try to launch without a renderer selected
2024-02-14 12:34:08 -08:00
Jonathan Kelley 60b78668ac Merge branch 'master' into jk/examples-overhaul 2024-02-14 12:33:27 -08:00
Jonathan Kelley bdbae8ccb0 Update examples, add css 2024-02-14 12:33:07 -08:00
Jonathan Kelley 49f3b8235d Merge pull request #1926 from ealmloff/fix-client-side-suspense
Fix client side suspense
2024-02-12 18:52:03 -08:00
Jonathan Kelley 53343bfd19 Merge pull request #1910 from ealmloff/readable-map
Implement Readable for mapped signal
2024-02-07 18:10:02 -08:00
Jonathan Kelley 25d103c1a5 Merge pull request #1908 from ealmloff/fix-assets
Fix manganis support for dioxus desktop
2024-02-07 12:17:12 -08:00
Jonathan Kelley 6436cfceda Merge pull request #1911 from ealmloff/fix-desktop-external-links
Fix external links in dioxus desktop
2024-02-07 11:52:45 -08:00
Jonathan Kelley 2ade193a5b Fix shortcut by wrapping callback 2024-02-05 18:50:13 -08:00
Jonathan Kelley f2ec5c5cb8 fix headless event counter 2024-02-05 17:58:13 -08:00
Jonathan Kelley d2346cc477 maybe windows needs even longer for windows to open 2024-02-05 17:15:06 -08:00
Jonathan Kelley 902d6e2fd7 bump rust version to 1.75 to satisfy CI 2024-02-05 14:48:51 -08:00
Jonathan Kelley 4f8868d43d Merge pull request #1791 from ealmloff/breaking
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Jonathan Kelley 9fb4a5a5bd speed up clearing ci 2024-02-05 13:26:39 -08:00
Jonathan Kelley 1bbceac4e1 use better disk clearer 2024-02-05 13:24:21 -08:00
Jonathan Kelley 1b7c31792e fix dir 2024-02-05 13:02:27 -08:00
Jonathan Kelley 472de4198d wipe more directories to free up space 2024-02-05 12:57:48 -08:00
Jonathan Kelley 52e14e8ece dont commit wasm 2024-02-05 12:46:01 -08:00
Jonathan Kelley bcbbd4a687 remove wasm 2024-02-05 12:45:47 -08:00
Jonathan Kelley b71f1438f3 update gitignore 2024-02-05 12:42:30 -08:00
Jonathan Kelley 7e54039ed2 fix make tests 2024-02-05 12:24:59 -08:00
Jonathan Kelley 69e4ebe4ed Fix suspense on resource 2024-02-05 11:59:50 -08:00
Jonathan Kelley 13cc912aeb remove playwright report 2024-02-05 11:55:09 -08:00
Jonathan Kelley d804b9283e comment out miri 2024-02-05 11:38:17 -08:00
Jonathan Kelley afa80a9592 fix playwright test, comment out miri 2024-02-05 11:38:11 -08:00
Jonathan Kelley 26378631e0 hide non-public type 2024-02-04 23:20:20 -08:00
Jonathan Kelley 572123401d Update readme 2024-02-04 23:09:16 -08:00
Jonathan Kelley 0d4bf28068 Add disclaimer to readme about 0.5 2024-02-04 23:07:55 -08:00
Jonathan Kelley 4a7fe938ad Make clippy happy 2024-02-04 23:03:52 -08:00
Jonathan Kelley 7d78e5e250 Fix warnings and compile errors 2024-02-03 13:10:16 -08:00
Jonathan Kelley 60d34b4393 Merge branch 'master' into breaking 2024-02-02 16:19:13 -08:00
Jonathan Kelley a3d6e9d07a fix hotreload cfg on release builds 2024-02-02 16:17:52 -08:00
Jonathan Kelley 64365cd361 make sure reactive context works across threads 2024-02-02 16:13:06 -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 e8182b105e flush sync in global memo 2024-02-02 14:36:03 -08:00
Jonathan Kelley d28cc9c0cf remove changed log in maybe_sync memo, flush sync 2024-02-02 14:35:55 -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 8a38a41512 fix use_future todos! 2024-02-02 14:17:53 -08:00
Jonathan Kelley f44b72f5e1 server_future uses use_resource 2024-02-02 14:08:21 -08:00
Jonathan Kelley 0fd7799bc2 disable use_future on the server 2024-02-02 13:36:19 -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
Jonathan Kelley 894a79d3df clear subscriber method 2024-02-01 13:21:53 -08: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 968f24a7b3 wip: reactive context instead of effect 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 cbdd8108e6 Missed todo!() 2024-01-31 16:27:25 -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 72a40e41e6 Dont write empty strings in link 2024-01-31 13:15:33 -08:00
Jonathan Kelley b403bb51a8 Move playwright into packages 2024-01-30 18:51:19 -08:00
Jonathan Kelley 9922059969 Fix some commented out tests 2024-01-30 18:42:36 -08:00
Jonathan Kelley 69f9bb6b65 Make benches compile 2024-01-30 18:29:49 -08:00
Jonathan Kelley 09e14f1936 Implement some clippy fixes 2024-01-30 18:17:45 -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 eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Jonathan Kelley dc5e4e3738 Merge pull request #1881 from DioxusLabs/fix-routable-macro-docs
Fix typo in Routable macro docs
2024-01-30 16:00:03 -08:00
Jonathan Kelley 8cc17dc1bd Fix compile 2024-01-29 17:03:50 -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
Jonathan Kelley 1847c737e9 Queue effects to run after flush_sync 2024-01-28 02:21:05 -08:00
Jonathan Kelley 7e4a1e9c7c Move methods 2024-01-28 01:30:59 -08:00
Jonathan Kelley 7b0dcb3206 Add flush_sync and pre_render methods to core 2024-01-28 01:30:33 -08:00
Jonathan Kelley 3ccf520205 reorder impls 2024-01-26 23:06:30 -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
Jonathan Kelley 1eb989a544 remove setinner 2024-01-24 12:24:47 -08: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
Jonathan Kelley c8e4c96762 Fix panic in demo 2024-01-23 16:45:58 -08:00
Jonathan Kelley b1921cf17d Merge pull request #1863 from egegungordu/is-composing-support
Add `isComposing` support
2024-01-23 16:25:12 -08:00
Jonathan Kelley 9633cfadde fix gen box compile release no features 2024-01-23 15:41:37 -08:00
Jonathan Kelley 828c253305 queue effect instead of running it 2024-01-23 14:10:13 -08:00
Jonathan Kelley 079fec3be6 simplify generational box by compressing debug info 2024-01-22 21:17:02 -08:00
Jonathan Kelley 5167cad689 Remove logging in protocol 2024-01-21 14:58:27 -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 fc0b0f02a1 downcast data with panic 2024-01-20 11:21:49 -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 2366d609d4 add checked to form 2024-01-19 22:23:13 -08:00
Jonathan Kelley 728a26a2cc Fix borrowmut error in nested spawns 2024-01-19 22:01:21 -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 c1be911dd7 Cleanup in global signals 2024-01-19 15:50:00 -08:00
Jonathan Kelley 60f5697e8e Fix global signal owner 2024-01-19 15:48:21 -08:00