@samitouri / QOS-React-2 / commits / 80efa9a33e

title case for entry titles; fix two entry names

Cheng Lou committed Oct 30, 2013 at 15:06 UTC 80efa9a33ef24efd71b986b04a57dba4a9cd1a21
8 files changed +15 -15
docs/cookbook/05-jsx-root-node-count.md
+2 -2
@@ -1,10 +1,10 @@
1 ---
2 id: jsx-root-node-count
3 -title: Maximum number of JSX root nodes
3 +title: Maximum Number of JSX Root Nodes
4 layout: cookbook
5 permalink: jsx-root-node-count.html
6 prev: self-closing-tag.html
7 -next: style-prop-value-px.html
7 +next: style-props-value-px.html
8 ---
9
10 Currently, in a component's `render`, you can only return one node; if you have, say, a list of `div`s to return, you must wrap your components within a `div`, `span` or any other component.
docs/cookbook/06-style-props-value-px.md renamed
+3 -3
@@ -1,10 +1,10 @@
1 ---
2 id: style-prop-value-px
3 -title: Shorthand for specifying pixel values in style prop
3 +title: Shorthand for Specifying Pixel Values in style props
4 layout: cookbook
5 -permalink: style-prop-value-px.html
5 +permalink: style-props-value-px.html
6 prev: jsx-root-node-count.html
7 -next: children-prop-type.html
7 +next: children-props-type.html
8 ---
9
10 When specifying a pixel value for your inline `style` prop, React automatically appends the string "px" for you after your number value, so this works:
docs/cookbook/07-children-props-type.md renamed
+4 -4
@@ -1,9 +1,9 @@
1 ---
2 -id: children-prop-type
3 -title: Type of the children prop
2 +id: children-props-type
3 +title: Type of the Children props
4 layout: cookbook
5 -permalink: children-prop-type.html
6 -prev: style-prop-value-px.html
5 +permalink: children-props-type.html
6 +prev: style-props-value-px.html
7 next: controlled-input-null-value.html
8 ---
9
docs/cookbook/08-controlled-input-null-value.md
+2 -2
@@ -1,9 +1,9 @@
1 ---
2 id: controlled-input-null-value
3 -title: Value of null for controlled input
3 +title: Value of null for Controlled Input
4 layout: cookbook
5 permalink: controlled-input-null-value.html
6 -prev: children-prop-type.html
6 +prev: children-props-type.html
7 next: componentWillReceiveProps-not-triggered-after-mounting.html
8 ---
9
docs/cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 id: componentWillReceiveProps-not-triggered-after-mounting
3 -title: componentWillReceiveProps not triggered after mounting
3 +title: componentWillReceiveProps Not Triggered After Mounting
4 layout: cookbook
5 permalink: componentWillReceiveProps-not-triggered-after-mounting.html
6 prev: controlled-input-null-value.html
docs/cookbook/10-props-in-getInitialSate-as-anti-pattern.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 id: props-in-getInitialSate-as-anti-pattern
3 -title: props in getInitialState is an anti-pattern
3 +title: Props in getInitialState Is an Anti-pattern
4 layout: cookbook
5 permalink: props-in-getInitialSate-as-anti-pattern.html
6 prev: componentWillReceiveProps-not-triggered-after-mounting.html
docs/cookbook/11-dom-event-listeners.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 id: dom-event-listeners
3 -title: DOM event listeners in a component
3 +title: DOM Event Listeners in a Component
4 layout: cookbook
5 permalink: dom-event-listeners.html
6 prev: props-in-getInitialSate-as-anti-pattern.html
docs/cookbook/12-initial-ajax.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 id: initial-ajax
3 -title: Load initial data via AJAX
3 +title: Load Initial Data via AJAX
4 layout: cookbook
5 permalink: initial-ajax.html
6 prev: dom-event-listeners.html