Conversation
Removing ngClass in favor of ng-invalid Refactoring movie to streams Refactoring NumberValidator to returns min/max/NaN errors Refactoring the help component
|
This makes more sense. |
|
From my point of view, The Granted, this is usually overkill for demos/samples, but the benefits payoff as you start adding more complex features. |
|
Cool info! Thanks! |
So here's a bit more of what I had in mind:
help-blockcomponent (I prefer "dumb component" with @inputs for handling streams)The main benefit here is now all the message streams could combine/compare with one another for validation across multiple fields. You could also create additional streams off of the message streams to invoke other logic/services based on complex scenarios.
This is meant more of a "here's my thoughts" than a pull request.
Cheers,
John