Introduction to Talking to the Server
Communicating with the server is an important task for client-side apps. The server is usually the source of data truth and it has information the client needs. For example, server information may have changed, and we may need updated data to draw a new part of the client application. The server also often needs to be informed of actions taken by the client.