Home

Issue: 643

date type is not serialized properly

[issue link]

currently when date is stored on store, the date is directly JSON.stringify and loss the type info, require special care (like manually cast before using the variable) in every related function.

Could the date being properly serialized before sending to client ? or let user provide a serialize/deserialize function, and make storing custom type be possible ?

This question is available on Nuxt.js community (#c560)