43 Commits

Author SHA1 Message Date
19166944c8
Effect/Trigger dependencies/subscribers are now stored in a global graph. 2025-06-27 21:08:36 +01:00
720c229569
Removed "worlds".
The default world (thread-local) is now the only implementation.
2025-06-12 17:21:02 +01:00
4ac3c54d89
Added derive macro for ToDynNode. 2025-06-02 02:06:08 +01:00
11eb211c54
Added dynatos_reactive::EnumSplitSignal. 2025-05-27 02:12:13 +01:00
d73233802c
Reactivity now uses a run queue to run all trigger subscribers. 2025-05-25 08:56:25 +01:00
08fc0bc9e5
QuerySignal is now controlled by a query type.
Added query types `SingleQuery` and `MultiQuery`.
Removed `QueryArraySignal`.
2025-05-23 02:09:11 +01:00
83664060b0
QuerySignal now stores a Loadable<T, T:Err> instead of Option<T>. 2025-05-20 19:40:22 +01:00
28818e766f
dynatos-context is now parametrized by a world. 2025-04-19 23:51:43 +01:00
a3d54fb1e7
Moved World::{RC, IM} to it's own crate. 2025-04-19 21:51:27 +01:00
cccc82210a
All types in dynatos-reactive now have a type parameter for their backend, instead of it being selected with features. 2025-04-16 15:34:45 +01:00
702b94db48
Updated all dependencies. 2025-04-14 17:14:08 +01:00
6a1011f0ad
Merged dynatos-reactive-async into dynatos-reactive. 2025-01-26 04:32:53 +00:00
c08b71e14f
AsyncSignal now stores the value inside of an IMut<Option<T>>.
This avoids some issues when initializing, and makes it so we can reset the value later.
2024-12-28 05:07:41 +00:00
d4497e1935
AsyncSignal now keeps track if the it's loading. 2024-12-22 18:52:52 +00:00
fc1f5b101c
Fixed AsyncSignal not being Send when sync feature was active. 2024-12-22 16:45:34 +00:00
4d193c5465
Moved dynatos-reactive's sync type alises to separate crate. 2024-12-22 16:21:32 +00:00
ac4dde9a66
Updated zutil to latest version. 2024-12-21 00:54:08 +00:00
963809a554
Removed all wasm dependencies from dynatos-util. 2024-12-20 01:39:25 +00:00
04abab3007
Moved all wasm things from dynatos-util to dynatos-html. 2024-12-20 01:37:36 +00:00
21c7d6038e
Moved cloned macro to zutil. 2024-12-20 01:18:00 +00:00
d84e2c29c7
Updated all dependencies. 2024-12-20 01:07:47 +00:00
a6caa9729e
dynatos_html::{html, html_file} now allow @event=event_handler attributes.
Added `counter-no-macros` example.
2024-12-06 09:53:57 +00:00
9939564b37
dynatos_html::{html, html_file} now allow expressions inside of text using %{expr}%. 2024-12-06 09:24:01 +00:00
dfceb11dbf
Replaced tl with a custom html parser. 2024-12-06 08:21:55 +00:00
73e57a15a1
Added dynatos_html::{html, html_file} macros. 2024-12-03 06:37:23 +00:00
f6de2142fe
Added cloned proc macro to dynatos-util. 2024-03-21 19:47:43 +00:00
10e2d228a0
Fixed Trigger triggering multiple times in debug mode.
This was due to `Subscriber` taking it's defined location into it's hash, which made it possible for the same effect to be registered twice, so long as it had a different defined location.
2024-03-18 21:00:46 +00:00
1727e0bb9b
Triggers and Effectss now store their definition location in debug mode. 2024-03-18 21:00:41 +00:00
c529a150b9
Updated tests' Cargo.lock. 2024-03-09 19:05:52 +00:00
5240c097a8
ObjectDynProp now receives anything that implements ToDynProp. 2024-02-19 08:30:18 +00:00
9ca824015f
Added dynatos::ObjectAttachContext. 2024-02-19 04:22:39 +00:00
2740552a53
Removed dynatos-logger. 2024-02-18 01:32:55 +00:00
5e82c61b3a
Updated to rustc 1.78.0-nightly (bccb9bbb4 2024-02-16). 2024-02-18 01:28:16 +00:00
38bbd90ac2
dyn_child now receives anything that implements AsDynNode. 2024-02-16 15:04:16 +00:00
8b504329a4
Added dynatos_reactive::Derived. 2024-02-16 12:31:48 +00:00
c563754171
Fixed that .dyn_child would lose the position if the closure returned None. 2024-02-06 07:44:24 +00:00
d9d9366080
Added dynatos_html::ElementWithClass. 2024-02-04 14:01:12 +00:00
88856c4836
Added dynatos_reactive::WithDefault. 2024-02-04 11:29:39 +00:00
3d8743c9dc
Added query example. 2024-02-04 11:04:31 +00:00
0b83a492ef
Moved several Element-specific extension traits to dynatos-html. 2024-02-04 10:05:22 +00:00
4ac4946245
Added dynatos-html. 2024-02-04 10:01:41 +00:00
6bdb983304
Added router example. 2024-02-04 09:48:24 +00:00
9717f1e6b4
Added counter example. 2024-02-04 01:28:22 +00:00