mschipperheyn / normalizr-immutable

Other
123 stars 13 forks source link

hydrating client stores from server + proxies #8

Open babsonmatt opened 8 years ago

babsonmatt commented 8 years ago

Any ideas on how to use proxies if the stores come over prepopulated from the server? Seems like you'd have to de-normalize and normalizr-immutable?

mschipperheyn commented 8 years ago

Yeah, that would sense to me. I don't have this use case myself. Since normalization and de-normalization is a one command thing, this sounds like a good idea.

mschipperheyn commented 8 years ago

Also, when you execute toJSON(), it will retrieve the proxied object and not the proxy itself