Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a Signal forget its internal memory when stopped.
This branch changes Signal.onStop to make it forget its internal memory when all observers have been removed. Causing it to re-compute its "initialValue" again if the Signal is re-started. This way, dependent signals (eg, MapSignal) can ask their parent signal for the latest value upon restarting, and elements that read these dependent signals can now observe the correct state when re-mounted. Fixes raquo#43
- Loading branch information