I'm calling RxJs's next() function and passing it an object which is identical to the object which was just passed, but it's not firing for a second time. I was wondering if there's a way to force next() to fire even if the data it's passed is the same?
Is there another function I should be using?
Calling .next with the same data works just fine.
const subj = new Subject<number>();
subj.subscribe(console.log);
subj.next(1);
subj.next(1);
1
1