title case for entry titles; fix two entry names

This commit is contained in:
Cheng Lou
2013-10-30 15:06:16 -04:00
parent 6a0976ca9d
commit 80efa9a33e
8 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
---
id: jsx-root-node-count
title: Maximum number of JSX root nodes
title: Maximum Number of JSX Root Nodes
layout: cookbook
permalink: jsx-root-node-count.html
prev: self-closing-tag.html
next: style-prop-value-px.html
next: style-props-value-px.html
---
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.
@@ -1,10 +1,10 @@
---
id: style-prop-value-px
title: Shorthand for specifying pixel values in style prop
title: Shorthand for Specifying Pixel Values in style props
layout: cookbook
permalink: style-prop-value-px.html
permalink: style-props-value-px.html
prev: jsx-root-node-count.html
next: children-prop-type.html
next: children-props-type.html
---
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:
@@ -1,9 +1,9 @@
---
id: children-prop-type
title: Type of the children prop
id: children-props-type
title: Type of the Children props
layout: cookbook
permalink: children-prop-type.html
prev: style-prop-value-px.html
permalink: children-props-type.html
prev: style-props-value-px.html
next: controlled-input-null-value.html
---
@@ -1,9 +1,9 @@
---
id: controlled-input-null-value
title: Value of null for controlled input
title: Value of null for Controlled Input
layout: cookbook
permalink: controlled-input-null-value.html
prev: children-prop-type.html
prev: children-props-type.html
next: componentWillReceiveProps-not-triggered-after-mounting.html
---
@@ -1,6 +1,6 @@
---
id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps not triggered after mounting
title: componentWillReceiveProps Not Triggered After Mounting
layout: cookbook
permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-input-null-value.html
@@ -1,6 +1,6 @@
---
id: props-in-getInitialSate-as-anti-pattern
title: props in getInitialState is an anti-pattern
title: Props in getInitialState Is an Anti-pattern
layout: cookbook
permalink: props-in-getInitialSate-as-anti-pattern.html
prev: componentWillReceiveProps-not-triggered-after-mounting.html
+1 -1
View File
@@ -1,6 +1,6 @@
---
id: dom-event-listeners
title: DOM event listeners in a component
title: DOM Event Listeners in a Component
layout: cookbook
permalink: dom-event-listeners.html
prev: props-in-getInitialSate-as-anti-pattern.html
+1 -1
View File
@@ -1,6 +1,6 @@
---
id: initial-ajax
title: Load initial data via AJAX
title: Load Initial Data via AJAX
layout: cookbook
permalink: initial-ajax.html
prev: dom-event-listeners.html