This Article IsCreated at don't-know-whenLast Modified at 2023-08-11Referenced as ia.www.f03

Reactive Signal is Mutex

Recently I was making UI in Rust that had to use reactive signals. It occured to me that a reactive signal that holds one value is really just a mutex-guarded value + pubsub. By this logic. you should probably use Signal<T> instead of RwLock<T> everywhere without overhead.

Thanks Solid for making this world better place!