Tag:signals
All the posts with the tag "signals".
backbone-signal - Practical Reactive Programming in Javascript
Introducing backbone-signal, which adds Signals to Backbonejs.
My history with reactive state management & how I ended up using ctx-core & nanostores
A brief account of my history with state management & the road to building ctx-core & adopting nanostores
Signals Proposal Compared to rmemo/WeakRef
WeakRef can simplify systems built using the Signals Proposal. By removing the need to unwatch live Signals. WeakRef is criticized for having extra memory allocations & being slow.
This post shows benchmarks. Including the Signals Proposal polyfill & rmemo, a reactive library that uses WeakRef. Comparing:
- performance
- memory usage
- implementation
V8 & Javascript Core have different Garbage Collection behavior for WeakRef. This caused me confusion with my initial benchmarks which were only synchronous. This post demonstrates the implementations. This post then highlights use cases where WeakRef can be used for simple & flexible reactive apis.