Many front-end applications require the extensive use of forms to allow users to enter information. Angular supports various mechanisms to handle forms, but I’ve struggled to figure out how to handle validations of data on different pages/routes. Below is a pattern I’ve used based on Redux which doesn’t leverage much of the Angular forms functionality but works very nicely for me.
Initially, I thought that my requirements would be pretty straight forward and common for single-page applications. However, there were two things which I didn’t manage to address with core Angular forms functionality.