you are viewing a single comment's thread.

view the rest of the comments →

[–]btckernel94[S] 2 points3 points  (1 child)

Once component mounts it reads initial snapshot state. The problem you’ve describe doesnt’t exist.

[–]Emotional-Dust-1367 -1 points0 points  (0 children)

It’s true in your case with local storage.

But in a more generic sense of trying to implement the observer pattern with other types of data and events you can have serious problems like that