Closed gaperton closed 8 years ago
Found good solution and working on it. Transactions core (Record/Collection) will be separated from the rest of the stuff, written with ES6 from the ground, and I will put it in separate package.
NestedTypes will use it and add proxied lodash functions, events, REST, etc.
In this way, code will become actually hackable by other people. All issues with ES6 support, ownership, and transactions will be solved. Speed of fetching large collections with deeply nested structures should dramatically improve. In fact, I believe it will be the fastest JS serialization engine in the world.
Also, this phase will open the path to TypeScript integration, which is, I believe, is the next big thing in JS world.
Fixed in develop.
Design clean and concise transactions mechanic.
beforeChanges
event, happening instead.changed
,added
,removed
attrs.Think about all this stuff as a whole, it becomes messy, something needs to be done. Fuck backward compatibility.