diff --git a/README.md b/README.md index 4db50f03..3d14a9bf 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Once you have RubyGems and installed Bundler (via `gem install bundler`), use it ```sh $ cd react/docs $ bundle install # Might need sudo. +$ npm install # Might need sudo. ``` ### Instructions diff --git a/_config.yml b/_config.yml index 7e26caf0..8ccf2a0e 100644 --- a/_config.yml +++ b/_config.yml @@ -69,3 +69,32 @@ nav_docs_sections: title: Event System - id: dom-differences title: DOM Differences +nav_tips: +- title: Tips + items: + - id: introduction + title: Introduction + - id: inline-styles + title: Inline Styles + - id: if-else-in-JSX + title: If-Else in JSX + - id: self-closing-tag + title: Self-Closing Tag + - id: maximum-number-of-jsx-root-nodes + title: Maximum Number of JSX Root Nodes + - id: style-props-value-px + title: Shorthand for Specifying Pixel Values in style props + - id: children-props-type + title: Type of the Children props + - id: controlled-input-null-value + title: Value of null for Controlled Input + - id: componentWillReceiveProps-not-triggered-after-mounting + title: componentWillReceiveProps Not Triggered After Mounting + - id: props-in-getInitialState-as-anti-pattern + title: Props in getInitialState Is an Anti-Pattern + - id: dom-event-listeners + title: DOM Event Listeners in a Component + - id: initial-ajax + title: Load Initial Data via AJAX + - id: false-in-jsx + title: False in JSX diff --git a/_includes/nav_docs.html b/_includes/nav_docs.html index e71ece3c..98e1a151 100644 --- a/_includes/nav_docs.html +++ b/_includes/nav_docs.html @@ -1,4 +1,5 @@ diff --git a/_layouts/default.html b/_layouts/default.html index 61b06b8a..f013a728 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -74,6 +74,7 @@
+