DEV Community

Discussion on: Change Detection: Getting in the (Angular) Zone!

Collapse
 
scooperdev profile image
Stephen Cooper

Hi Evan, thanks for your explanation. I left out large chunks of the code but I am using the spread operator in my NgRx reducer for exactly the reason you mentioned. So the chartData observable is a new reference each time in my component.

Collapse
 
evanplaice profile image
Evan Plaice

👍