You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@ provided by combination of [NestedReact](https://github.com/Volicon/NestedReact)
28
28
This example shows how to achieve pure unidirectional data flow (which is common for Flux applications)
29
29
without the usage of `Flux` pattern and excessive implementation efforts.
30
30
31
+
##FAQ
32
+
### What does `editing : ToDo.from( '^props.todos' )` from `todolist.jsx` mean?
33
+
Shortly, this reference is a path relative to `this`. Symbol `^` means that we reference something from the upper level. Methods `.from` and `.subsetOf` are serialized as `id` and array of `id` from the model. You work with them same as with simple model or collection. To get this `id` we need a reference to the whole model.
34
+
35
+
For instance, `someAttr : Model.from( 'items' )` means that in `someAttr` you have one of the models from collection `item`. Common use case: you have a list and you need a reference for selected item.
36
+
31
37
## Credit
32
38
33
39
Created by Vlad Balin & [Volicon](http://www.volicon.com/)
0 commit comments