DEV Community

Discussion on: Sorry C# and Java developers, this is not how TypeScript works

Collapse
ltvan profile image
Van Ly
  1. Separate web service proxy with data transfer object from the view model. Use swagger to generate web service proxy. Don't call API directly without a proxy class, then you will never forget that.
  2. Never ship a code without testing it. :-)