mercredi 1 décembre 2021

Angular design for multiple forms

Very new to Angular and trying to get my head around an application already in development - we have 6-7 categories each with list/add/edit screens, which looking at the code are using a single list and edit component and programmatically creating each category's list/add/edit screen based on data from the API layer.

I'm finding this really difficult to work out what is doing what so my question is whether this is a correct use of Angular (could very easily be my inexperience) or whether you'd expect forms to be in the HTML/have a screen per function ie. category 1 list, category 2 list etc (each category has different fields)

Thanks :)

Aucun commentaire:

Enregistrer un commentaire