Remix.run Logo
lolakutty 11 hours ago

What is wrong with using IndexedDB?

bashtian 10 hours ago | parent [-]

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.

lolakutty 10 hours ago | parent [-]

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.