diff --git a/docs/docs/components-and-props.md b/docs/docs/components-and-props.md index d1bf5ca9d3664..150138fb91b60 100644 --- a/docs/docs/components-and-props.md +++ b/docs/docs/components-and-props.md @@ -12,6 +12,8 @@ redirect_from: - "docs/transferring-props-zh-CN.html" - "tips/props-in-getInitialState-as-anti-pattern.html" - "tips/communicate-between-components.html" +prev: rendering-elements.html +next: state-and-lifecycle.html --- Components let you split the UI into independent, reusable pieces, and think about each piece in isolation. diff --git a/docs/docs/composition-vs-inheritance.md b/docs/docs/composition-vs-inheritance.md index 2817811a669c4..0ac5cd45b21cc 100644 --- a/docs/docs/composition-vs-inheritance.md +++ b/docs/docs/composition-vs-inheritance.md @@ -3,6 +3,8 @@ id: composition-vs-inheritance title: Composition vs Inheritance permalink: docs/composition-vs-inheritance.html redirect_from: "docs/multiple-components.html" +prev: lifting-state-up.html +next: thinking-in-react.html --- React has a powerful composition model, and we recommend using composition instead of inheritance to reuse code between components. diff --git a/docs/docs/conditional-rendering.md b/docs/docs/conditional-rendering.md index 7cfc60a8f9531..ea1be02a4c850 100644 --- a/docs/docs/conditional-rendering.md +++ b/docs/docs/conditional-rendering.md @@ -2,6 +2,8 @@ id: conditional-rendering title: Conditional Rendering permalink: docs/conditional-rendering.html +prev: handling-events.html +next: lists-and-keys.html redirect_from: "tips/false-in-jsx.html" ---