grand_central icon indicating copy to clipboard operation
grand_central copied to clipboard

Make models serializable

Open jgaskins opened this issue 8 years ago • 2 comments

This can allow them to be stored in localStorage, sent to the server, etc.

It's a start to add support for #4.

jgaskins avatar Nov 16 '16 05:11 jgaskins

Would this make sense to be an optional mixin, similar to #10?

ajjahn avatar Dec 02 '16 04:12 ajjahn

Probably not a bad idea. It was really only ever intended to support a serializable store so that you could send your store's initial state and action history across the wire for debugging. Beyond that, I can see this being used for all the wrong reasons if it were baseline functionality.

jgaskins avatar Dec 03 '16 04:12 jgaskins