Where should the models be at? Front/Back? MEAN stack

I have worked on .NET applications, and I believed then I was using models on the front end and the back end. I have been working on MEAN stack now and I noticed I only have models on the back end. I was just using ngFor and ngIf to list the data out on the front end. I’m wondering now if I should be doing it this way. Don’t I lose out on auto-completion by using "any" instead of an object of the model? What all am I losing out on? I feel like developing OOP with .NET was easier, or at least using models at both ends. Then it seems like redundant information and I have to do double the work to change the slightest thing. Could you answer some of my questions and offer advice on this? Thank you

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.