Is localstorage the right choice for this webapp?

后端 未结 2 1510
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 06:45

I\'m interested in building a small offline webapp and I\'m looking for some advice. Here\'s the basics of what I want it to do

  • Create reports that, initially,
2条回答
  •  独厮守ぢ
    2020-12-22 07:16

    Link to the localstorage apis

    Yes localstorage would be perfect for you application. It would allow your application to have no need to connect to a server at all. Keep in mind that local storage does have maximums on the amount of data that can be stored.

    EDIT: Using JSON.stringify() on can convert complex javascript objects to json which can be storage and retrieved with ease inside of local storage.

提交回复
热议问题