Skip to content

Commit 61e60dd

Browse files
author
Vlad Balin
committed
Update readme.md
1 parent 1f80549 commit 61e60dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/todomvc/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ Every NestedTypes model and collection has `_changeToken` property, which contai
6363

6464
It's works faster than any generic PureRenderMixin because we dynamically compile `shouldComponentUpdate` functions with _loops unrolled_, taking props list from component's `propTypes` (loops through hashes are very expensive, as well as `Object.keys` call).
6565

66+
Why it's better than just deal with immutable data? Because we can have circular references, and premanent references to objects in data layer with no problems. Have a reference? Pass it around, no problem.
67+
6668
### What does `editing : ToDo.from( '^props.todos' )` from `todolist.jsx` mean?
6769

6870
This is NestedTypes type annotation, which literally means "`editing` is the model of `ToDo` type which is taken from

0 commit comments

Comments
 (0)