To facilitate communication between the frontend and backend, the two should be able to communicate with each other with a shared language. TypeScript types will be that language -- the backend can implement methods for these types and the frontend can render these types. The following types should be considered for completing our R1 goals:
To facilitate communication between the frontend and backend, the two should be able to communicate with each other with a shared language. TypeScript types will be that language -- the backend can implement methods for these types and the frontend can render these types. The following types should be considered for completing our R1 goals:
Useful link for developing solution: https://stackoverflow.com/questions/65045106/share-types-between-client-and-server