How to Combine Add and Edit Forms in Angular
Create/update form with smart/dumb components
This article demonstrates how to build a reusable form component that supports add and edit modes. We do this by using the container and presentation components architecture. The goal is not about teaching forms, so we keep it as simple as possible using reactive forms.