Browse Source

title case for entry titles; fix two entry names

main
Cheng Lou 11 years ago
parent
commit
c4bf9aa5bd
  1. 4
      cookbook/05-jsx-root-node-count.md
  2. 6
      cookbook/06-style-props-value-px.md
  3. 8
      cookbook/07-children-props-type.md
  4. 4
      cookbook/08-controlled-input-null-value.md
  5. 2
      cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md
  6. 2
      cookbook/10-props-in-getInitialSate-as-anti-pattern.md
  7. 2
      cookbook/11-dom-event-listeners.md
  8. 2
      cookbook/12-initial-ajax.md

4
cookbook/05-jsx-root-node-count.md

@ -1,10 +1,10 @@
--- ---
id: jsx-root-node-count id: jsx-root-node-count
title: Maximum number of JSX root nodes title: Maximum Number of JSX Root Nodes
layout: cookbook layout: cookbook
permalink: jsx-root-node-count.html permalink: jsx-root-node-count.html
prev: self-closing-tag.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. 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.

6
cookbook/06-style-prop-value-px.md → cookbook/06-style-props-value-px.md

@ -1,10 +1,10 @@
--- ---
id: style-prop-value-px 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 layout: cookbook
permalink: style-prop-value-px.html permalink: style-props-value-px.html
prev: jsx-root-node-count.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: 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:

8
cookbook/07-children-prop-type.md → cookbook/07-children-props-type.md

@ -1,9 +1,9 @@
--- ---
id: children-prop-type id: children-props-type
title: Type of the children prop title: Type of the Children props
layout: cookbook layout: cookbook
permalink: children-prop-type.html permalink: children-props-type.html
prev: style-prop-value-px.html prev: style-props-value-px.html
next: controlled-input-null-value.html next: controlled-input-null-value.html
--- ---

4
cookbook/08-controlled-input-null-value.md

@ -1,9 +1,9 @@
--- ---
id: controlled-input-null-value id: controlled-input-null-value
title: Value of null for controlled input title: Value of null for Controlled Input
layout: cookbook layout: cookbook
permalink: controlled-input-null-value.html permalink: controlled-input-null-value.html
prev: children-prop-type.html prev: children-props-type.html
next: componentWillReceiveProps-not-triggered-after-mounting.html next: componentWillReceiveProps-not-triggered-after-mounting.html
--- ---

2
cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md

@ -1,6 +1,6 @@
--- ---
id: componentWillReceiveProps-not-triggered-after-mounting id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps not triggered after mounting title: componentWillReceiveProps Not Triggered After Mounting
layout: cookbook layout: cookbook
permalink: componentWillReceiveProps-not-triggered-after-mounting.html permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-input-null-value.html prev: controlled-input-null-value.html

2
cookbook/10-props-in-getInitialSate-as-anti-pattern.md

@ -1,6 +1,6 @@
--- ---
id: props-in-getInitialSate-as-anti-pattern 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 layout: cookbook
permalink: props-in-getInitialSate-as-anti-pattern.html permalink: props-in-getInitialSate-as-anti-pattern.html
prev: componentWillReceiveProps-not-triggered-after-mounting.html prev: componentWillReceiveProps-not-triggered-after-mounting.html

2
cookbook/11-dom-event-listeners.md

@ -1,6 +1,6 @@
--- ---
id: dom-event-listeners id: dom-event-listeners
title: DOM event listeners in a component title: DOM Event Listeners in a Component
layout: cookbook layout: cookbook
permalink: dom-event-listeners.html permalink: dom-event-listeners.html
prev: props-in-getInitialSate-as-anti-pattern.html prev: props-in-getInitialSate-as-anti-pattern.html

2
cookbook/12-initial-ajax.md

@ -1,6 +1,6 @@
--- ---
id: initial-ajax id: initial-ajax
title: Load initial data via AJAX title: Load Initial Data via AJAX
layout: cookbook layout: cookbook
permalink: initial-ajax.html permalink: initial-ajax.html
prev: dom-event-listeners.html prev: dom-event-listeners.html

Loading…
Cancel
Save