...

/

Managing State and Front-end Development

Managing State and Front-end Development

Get familiar with how crucial state management is to any application's design.

Many decisions concerning program structure in web applications are about how to manage state, which is the data that controls the interactions between the user and the application. Managing state includes both the location of that data itself and the logic that manipulates that state.

The structure of web applications

A main question we’ll deal with is how to structure our web application to manage our state in the best way. The goal is to avoid having multiple sources of truth by preventing duplicate data and writing the same logic on both the client and the server side. We also want to make the program simple to understand and change. ...