fix title case for docs tips everywhere

This commit is contained in:
Cheng Lou 2013-11-05 09:52:50 -05:00
parent 551cc01430
commit f2ee3c53a9
8 changed files with 22 additions and 22 deletions

View File

@ -75,26 +75,26 @@ nav_cookbook:
- id: introduction
title: Introduction
- id: inline-styles
title: Inline styles
title: Inline Styles
- id: if-else-in-JSX
title: If else in JSX
title: If-Else in JSX
- id: self-closing-tag
title: Self closing tag
title: Self-Closing Tag
- id: jsx-root-node-count
title: JSX root node count
title: Maximum Number of JSX Root Nodes
- id: style-props-value-px
title: Style props value px
title: Shorthand for Specifying Pixel Values in style props
- id: children-props-type
title: Children props type
title: Type of the Children props
- id: controlled-input-null-value
title: Controlled input null value
title: Value of null for Controlled Input
- id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps not triggered after mounting
title: componentWillReceiveProps Not Triggered After Mounting
- id: props-in-getInitialSate-as-anti-pattern
title: Props in getInitialSate as anti-pattern
title: Props in getInitialState Is an Anti-Pattern
- id: dom-event-listeners
title: DOM event listeners
title: DOM Event Listeners in a Component
- id: initial-ajax
title: Initial AJAX
title: Load Initial Data via AJAX
- id: false-in-jsx
title: False In JSX
title: False in JSX

View File

@ -1,6 +1,6 @@
---
id: introduction
title: Cookbook Introduction
title: Introduction
layout: cookbook
permalink: introduction.html
next: inline-styles.html

View File

@ -4,7 +4,7 @@ title: Self-Closing Tag
layout: cookbook
permalink: self-closing-tag.html
prev: if-else-in-JSX.html
next: jsx-root-node-count.html
next: maximum-number-of-jsx-root-nodes.html
---
In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.

View File

@ -1,8 +1,8 @@
---
id: jsx-root-node-count
id: maximum-number-of-jsx-root-nodes
title: Maximum Number of JSX Root Nodes
layout: cookbook
permalink: jsx-root-node-count.html
permalink: maximum-number-of-jsx-root-nodes.html
prev: self-closing-tag.html
next: style-props-value-px.html
---

View File

@ -3,7 +3,7 @@ id: style-prop-value-px
title: Shorthand for Specifying Pixel Values in style props
layout: cookbook
permalink: style-props-value-px.html
prev: jsx-root-node-count.html
prev: maximum-number-of-jsx-root-nodes.html
next: children-props-type.html
---

View File

@ -4,7 +4,7 @@ title: componentWillReceiveProps Not Triggered After Mounting
layout: cookbook
permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-input-null-value.html
next: props-in-getInitialSate-as-anti-pattern.html
next: props-in-getInitialState-as-anti-pattern.html
---
`componentWillReceiveProps` isn't triggered after the node is put on scene. This is by design. Check out [other lifecycle methods](/react/docs/cookbook/component-specs.html) for the one that suits your needs.

View File

@ -1,8 +1,8 @@
---
id: props-in-getInitialSate-as-anti-pattern
title: Props in getInitialState Is an Anti-pattern
id: props-in-getInitialState-as-anti-pattern
title: Props in getInitialState Is an Anti-Pattern
layout: cookbook
permalink: props-in-getInitialSate-as-anti-pattern.html
permalink: props-in-getInitialState-as-anti-pattern.html
prev: componentWillReceiveProps-not-triggered-after-mounting.html
next: dom-event-listeners.html
---

View File

@ -3,7 +3,7 @@ id: dom-event-listeners
title: DOM Event Listeners in a Component
layout: cookbook
permalink: dom-event-listeners.html
prev: props-in-getInitialSate-as-anti-pattern.html
prev: props-in-getInitialState-as-anti-pattern.html
next: initial-ajax.html
---