Adding Local Storage and a Location to Our Entities
Learn how to configure our entities to web storage using the url property.
Our goal in this chapter is to modify our app to deal with persisted data instead of the in-memory management we’ve used up to this point. We’ll be using web storage to persist our data.
Since this is more advanced, the implementation details of the persistence layer are covered in the “Appendix: Using Web Storage for Persistence” chapter at the end of this course. You won’t need to understand the implementation details to follow along as we continue developing our app. Using web storage persistence will work the same as saving data to a remote server.
Adding the storage plugin files
Let’s take a look at the storage plugin files and add them to our index.html
file.
Get hands-on with 1400+ tech skills courses.