@samitouri / QOS-React-2 / commits / bf275a9097
Fork 0

The library for web and native user interfaces.

Docs Typo Fix: s/distinciton/distinction

Jamie Wong committed Jul 19, 2013 at 12:33 UTC bf275a909748a1e64ff06934ce0b6f8f285b86f7
1 file changed +1 -1
docs/docs/04-multiple-components.md
+1 -1
@@ -62,7 +62,7 @@ React.renderComponent(
62
63 In the above example, instances of `Avatar` *own* instances of `ProfilePic` and `ProfileLink`. In React, **an owner is the component that sets the `props` of other components**. More formally, if a component `X` is created in component `Y`'s `render()` method, it is said that `X` is *owned by* `Y`. As discussed earlier, a component cannot mutate its `props` — they are always consistent with what its owner sets them to. This key property leads to UIs that are guaranteed to be consistent.
64
65 -It's important to draw a distinciton between the owner-ownee relationship and the parent-child relationship. The owner-ownee relationship is specific to React, while the parent-child relationship is simply the one you know and love from the DOM. In the example above, `Avatar` owns the `div`, `ProfilePic` and `ProfileLink` instances, and `div` is the **parent** (but not owner) of the `ProfilePic` and `ProfileLink` instances.
65 +It's important to draw a distinction between the owner-ownee relationship and the parent-child relationship. The owner-ownee relationship is specific to React, while the parent-child relationship is simply the one you know and love from the DOM. In the example above, `Avatar` owns the `div`, `ProfilePic` and `ProfileLink` instances, and `div` is the **parent** (but not owner) of the `ProfilePic` and `ProfileLink` instances.
66
67
68 ## Children