As Ionic builds HTML5 based applications behind the scene, localStorage and sessionStorage API can be used to persist data on mobile devices. However, since localStorage only stores strings, the objects need to be stringified before saving them. It is critical to remember that localStorage has a size limit of 5MB.

BY Best Interview Question ON 13 Jan 2019