12
12
13
13
/**
14
14
* React Components are the heart and soul of a React renderer. This is the
15
- * internal side of a consumers ReactComponents. At a high level, you will
15
+ * internal side of a consumers’ ReactComponents. At a high level, you will
16
16
* define one or more internal components to map to the public interface of your
17
- * renderer. Beloew this we have defined two ReactComponents.
17
+ * renderer. Below this we have defined two ReactComponents.
18
18
*
19
19
* * MinimumViableComponent
20
20
* * TinyRendererComponent
@@ -48,7 +48,7 @@ const MinimumViableComponent = function(element) {
48
48
// `getNativeNode` should return this.
49
49
this . node = null ;
50
50
// `this._mountImage` is the representation you use to render a ReactElement
51
- // heirarchy . This could be an HTML string, a DOM node, or an identifier or
51
+ // hierarchy . This could be an HTML string, a DOM node, or an identifier or
52
52
// simple representation that maps to the final result such as native UI
53
53
// controls.
54
54
this . _mountImage = null ;
@@ -79,7 +79,7 @@ MinimumViableComponent.prototype = Object.assign(
79
79
/**
80
80
* The fun begins! Well, it would in a not-so-tiny renderer, but for here it’s
81
81
* pretty straight-forward. The idea for this particular implementation came
82
- * from converations with Ryan Florence and Michael Jackson from the React
82
+ * from conversations with Ryan Florence and Michael Jackson from the React
83
83
* Router/React.js Training teams.
84
84
*
85
85
* React Router supports two route configuration approaches:
@@ -90,7 +90,7 @@ MinimumViableComponent.prototype = Object.assign(
90
90
* As I understand it, both approaches result in the object literal, it’s just a
91
91
* matter of the path to get there. The question then is what would it look
92
92
* like to write a renderer that accomplishes the ReactComponent authoring style
93
- * in more elegant way?
93
+ * in a more elegant way?
94
94
*
95
95
* If you recall from our mount.js render method, the return value or callback
96
96
* is called with the result of `component.getPublicInstance()`. We want this to
0 commit comments