Summary
In this chapter, we learned how we can handle state in our application and how we can use local storage to store data, both encrypted and not. We looked at different ways of doing that and we also made sure to include SignalR to be able to use real-time communication with the server.
Almost all applications need to save data in some form. Perhaps it can be settings or preferences. The things we covered in the chapter are the most common ones, but we should also know that there are many open source projects we can use to persist state. We could save the information using IndexDB.
In the next chapter, we will take a look at debugging. Hopefully, you won't have needed to read that chapter beforehand.