fluxo-js / fluxo

Fluxo is a simple, lightweight (~300LOC) and dependency free data infrastructure lib based on Facebook Flux and Backbone.js. It's compatible with React.js, but you can use with whatever you want to the view/component layer.
15 stars 3 forks source link

Do not copy computed to object store instances #53

Closed sobrinho closed 8 years ago

sobrinho commented 8 years ago

There is no need for that, just access the constructor and keep a default value there.

sobrinho commented 8 years ago

This also will avoid allocation of one extra useless object per instance without computed attributes.