Open divdavem opened 1 week ago
This PR contains an implementation of Signal.Volatile (cf https://github.com/tc39/proposal-signals/issues/237) I have copied the tests written by @PsychoLlama in his implementation (cf https://github.com/PsychoLlama/signal-polyfill/pull/1) but the implementation in this PR is different: Signal.Volatile extends Signal.Computed, which requires less code.
Signal.Volatile
Signal.Computed
This PR contains an implementation of
Signal.Volatile
(cf https://github.com/tc39/proposal-signals/issues/237) I have copied the tests written by @PsychoLlama in his implementation (cf https://github.com/PsychoLlama/signal-polyfill/pull/1) but the implementation in this PR is different:Signal.Volatile
extendsSignal.Computed
, which requires less code.