How to Combine Add and Edit Forms in Angular
Create/update form with smart/dumb components
4 min readJan 24, 2022
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.