Commit Graph
108 Commits
Author SHA1 Message Date
Evan Almloff 4985cfdfd0 restore write_silent as a deprecated function with updated recommendations 2024-03-13 09:34:49 -05:00
Evan Almloff ffc49530f6 implement readable and callable for all structs in the hooks crate 2024-03-08 11:17:28 -06:00
Evan Almloff 4bc2f4a713 add more docs around lifetime downcasting 2024-03-08 10:46:34 -06:00
Evan Almloff 5f9e5f607b rename take to manually drop 2024-03-08 10:35:27 -06:00
Evan Almloff 60a84956d1 restore lifetime checking for signals 2024-03-08 10:32:57 -06:00
Evan Almloff 3d7f419636 fix memos during suspense 2024-03-07 11:49:51 -06:00
Evan Almloff 492f0329bf remove flume, implement lazier memos 2024-03-06 11:38:28 -06:00
Jonathan Kelley 608fec59e5 Merge pull request #1993 from DioxusLabs/fix-effect
Fix effect ordering and futures being run after scopes are dropped
2024-03-05 11:18:17 -08:00
Evan Almloff 287416cfa7 rename flush_sync to wait_for_next_render 2024-03-04 19:52:17 -06:00
Evan Almloff 568631e331 test signal drops 2024-03-04 16:02:19 -06:00
Evan Almloff f539698963 add debug information for signal subscriptions 2024-02-26 11:46:01 -06:00
Evan Almloff 05a6dda89c fix formatting 2024-02-14 12:13:54 -06:00
Evan Almloff 48751d2f98 only subscribe scopes to signals when rendering 2024-02-14 09:33:22 -06:00
Evan Almloff 8689509eb5 erase the original readable type 2024-02-07 11:19:39 -06:00
Evan Almloff c8937cb4df make mapped signal readable 2024-02-07 09:35:06 -06:00
Evan Almloff 1af8f56e89 make target an associated type 2024-02-07 08:53:21 -06:00
Evan Almloff 30bac267c9 simplify reactive context and expose less signal internals 2024-02-05 08:05:27 -06:00
Jonathan Kelley 7d78e5e250 Fix warnings and compile errors 2024-02-03 13:10:16 -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 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 a72c035de4 Fix cargo check on examples 2024-01-30 17:59:57 -08:00
Jonathan Kelley cef64d43df move hooks out of signals crate 2024-01-29 17:02:26 -08:00
Evan Almloff 50e3216d8b convert T into signals automatically 2024-01-29 13:36:39 -06:00
Jonathan Kelley 974680796f add test cases, refactor deref 2024-01-26 23:05:40 -08:00
Evan Almloff 30ef29d195 Remove an extra CopyValue::invalid from maybe_sync_memo 2024-01-24 14:33:39 -06:00
Evan Almloff 55b37cc381 fix serializing signals 2024-01-24 10:54:17 -06:00
Evan Almloff 6bc0332052 simplify the readable and writable traits a bit 2024-01-23 12:07:55 -06:00
Evan Almloff 94c0c2e5b9 remove some old manual implementations of helpers 2024-01-23 11:29:13 -06:00
Evan Almloff 7f93263357 add a bunch more utilities to the trait 2024-01-23 10:56:26 -06:00
Evan Almloff 51d7133ca5 add readable and writable traits for signal-like structs 2024-01-23 10:05:59 -06:00
Evan Almloff e01f10e25d remove mappable and mappablemut traits 2024-01-22 16:51:25 -06: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 83bce6ce97 Make cargo check --all --examples work! 2024-01-19 14:19:49 -08:00
Evan Almloff 6444559a66 move selector construct onto signals 2024-01-19 15:30:40 -06: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
Evan Almloff c7275e4c30 fix signal unsubscriber 2024-01-19 12:13:45 -06:00
Jonathan Kelley 6ed3aafb2f Get cargo check --all working 2024-01-18 19:27:55 -08:00
Evan Almloff 205a005142 fix dioxus web 2024-01-17 08:40:42 -06:00
Evan Almloff f6fd20bb61 fix signals 2024-01-16 13:57:31 -06:00
Evan Almloff 611f0d3b5f Merge branch 'maybe-sync-signal' into breaking 2024-01-16 13:49:53 -06:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -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 d88561f973 Adjust impl for signal syntax to allow cloned values 2024-01-15 21:43:30 -08:00
Jonathan Kelley 33bba24867 Experiment with call syntax only working for copy types 2024-01-15 21:12:44 -08:00
Jonathan Kelley 74aa55f85f Bring back mroe hooks, remove old hooks, cleanup a number of examples 2024-01-15 17:04:39 -08:00