I've heard many people state that every view should have it's own view model, but, IMHO, it creates a bit of a mess with a lot of unnecessary classes in the working tree. I know that I should avoid submitting redundant data into views, but is it that much of a sin to reuse a view model across 2 or 3 views? If so, what are the long term benefits of such tedious-looking work?
Aucun commentaire:
Enregistrer un commentaire