← Back to context

Comment by lolakutty

19 hours ago

What is wrong with using IndexedDB?

For saving data in the capsule file it would create complexity regarding migration handling when updating the HTML file to add a field to a form for example. Keeping the data schemaless makes it also easier for merging data or importing data from a CSV.

  • Doesn't indexedDB have builtin migration mechanism?

    >Keeping the data schemaless makes it also easier for merging data or importing data from a CSV.

    Not sure how it makes easier. There is always an implicit or explicit schema. IMHO explicit is often better.