Dmitry Sorokin
Results
2
comments of
Dmitry Sorokin
It would be convenient if [DestroyRef](https://angular.io/api/core/DestroyRef) had a destroyed flag. It would be possible to check before creating a subscription. ```typescript abstract class DestroyRef { abstract onDestroy(callback: () => void):...
I encountered a similar problem ```javascript test('fails to trigger onBecomeObservable', () => { const observed = jest.fn(); const atom = createAtom('test', observed); const withAtom = observable(false); const derivedState = computed(()...