Lab 16 - Persistence: Import/Export
Build on earlier experience with the browser’s
localStorage
using the FileReader to support export/import of app state.Categories:
less than a minute
Learning Objectives
By the end of this lab, you should be able to:
- export from– and import to–
localStorage
Prerequisites
- beginning localStorage (e.g. as exercised in Labs 10 and 11)
- Familiarity with the browser’s
FileReader API
Instructions
- Begin with the starting code provided by your instructor (e.g. from an assignment in your learning management system) or else in the Transportodon repo
- Complete the Transportodon app as specified in the page’s aside.
Last modified August 11, 2024: moved a bunch of things for archival purposes (6652bbe)