Can I use a selector for the `store.subscribe` method?
In my project I am building a form wizard with multiple steps. Each step should report to a progress bar as soon as it becomes valid.
For this I have two approaches right now. The first one is via
form.subscribe:
What I like here is that I am only notified if the canSubmit state changes and nothing else, but it seems to be a bit too complicated for what I want to achieve. My other component is working with the store.subscribe method:
This is logging on each state change and not only on the state.canSubmit property. Can I select the value I want to subscribe to with store.subscribe like I can with form.Subscribe?
Thanks in advance for your help!0 Replies