The @ngrx/component-store is a relatively new library from the team that brought us NgRx. I have some great experiences using this library and would like to share some of what I have learned. This series assumes that you have some familiarity with NgRx basics. If you don’t, I recommend a quick read from the NgRx website. This will be a multi-part series that will take the following form:

Part 1 — An introduction to the component store. …


This is a really good read. I enjoyed a lot of the concepts shared. I did want to point out that the difference between hot and cold observables does not have to do with multi-cast or unicast observables.

The difference has to do with when observables start producing data. Cold observables start producing only when they have a subscriber. Hot observables are always producing regardless of if they have an observer or not. The best analogy that I have heard is that cold observables are like Netflix. The stream only starts when you start watching and stops or pauses when…

Jason Warner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store