Browse Source

fix title case for docs tips everywhere

main
Cheng Lou 11 years ago
parent
commit
df40e92e29
  1. 24
      _config.yml
  2. 2
      cookbook/01-introduction.md
  3. 2
      cookbook/04-self-closing-tag.md
  4. 4
      cookbook/05-maximum-number-of-jsx-root-nodes.md
  5. 2
      cookbook/06-style-props-value-px.md
  6. 2
      cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md
  7. 6
      cookbook/10-props-in-getInitialState-as-anti-pattern.md
  8. 2
      cookbook/11-dom-event-listeners.md

24
_config.yml

@ -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

2
cookbook/01-introduction.md

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

2
cookbook/04-self-closing-tag.md

@ -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.

4
cookbook/05-jsx-root-node-count.md → cookbook/05-maximum-number-of-jsx-root-nodes.md

@ -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
---

2
cookbook/06-style-props-value-px.md

@ -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
---

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

@ -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.

6
cookbook/10-props-in-getInitialSate-as-anti-pattern.md → cookbook/10-props-in-getInitialState-as-anti-pattern.md

@ -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
---

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

@ -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
---

Loading…
Cancel
Save