From 48cbb02dd26cdea54a248b67823c5707aefb2866 Mon Sep 17 00:00:00 2001 From: Alex Krolick Date: Thu, 19 Jul 2018 10:51:07 -0700 Subject: [PATCH] make all redirect_from's arrays (#1075) make Gatsby happy again --- content/blog/2014-10-14-introducing-react-elements.md | 3 ++- content/community/conferences.md | 3 ++- content/community/support.md | 3 ++- content/community/videos.md | 3 ++- content/docs/add-react-to-a-website.md | 3 ++- content/docs/codebase-overview.md | 3 ++- content/docs/composition-vs-inheritance.md | 3 ++- content/docs/conditional-rendering.md | 3 ++- content/docs/create-a-new-react-app.md | 3 ++- content/docs/design-principles.md | 3 ++- content/docs/implementation-notes.md | 3 ++- content/docs/optimizing-performance.md | 3 ++- content/docs/rendering-elements.md | 3 ++- content/docs/state-and-lifecycle.md | 3 ++- content/docs/web-components.md | 3 ++- 15 files changed, 30 insertions(+), 15 deletions(-) diff --git a/content/blog/2014-10-14-introducing-react-elements.md b/content/blog/2014-10-14-introducing-react-elements.md index cffa893c3..a6a5423fe 100644 --- a/content/blog/2014-10-14-introducing-react-elements.md +++ b/content/blog/2014-10-14-introducing-react-elements.md @@ -1,7 +1,8 @@ --- title: "Introducing React Elements" author: [sebmarkbage] -redirect_from: "blog/2014/10/14/introducting-react-elements.html" +redirect_from: + - "blog/2014/10/14/introducting-react-elements.html" --- The upcoming React 0.12 tweaks some APIs to get us close to the final 1.0 API. This release is all about setting us up for making the `ReactElement` type really FAST, [jest unit testing](https://facebook.github.io/jest/) easier, making classes simpler (in preparation for ES6 classes) and better integration with third-party languages! diff --git a/content/community/conferences.md b/content/community/conferences.md index 44b248936..76d7638f3 100644 --- a/content/community/conferences.md +++ b/content/community/conferences.md @@ -4,7 +4,8 @@ title: Conferences layout: community sectionid: community permalink: community/conferences.html -redirect_from: "docs/conferences.html" +redirect_from: + - "docs/conferences.html" --- Do you know of a local React.js conference? Add it here! (Please keep the list chronological) diff --git a/content/community/support.md b/content/community/support.md index 0b52550cf..fc909d01f 100644 --- a/content/community/support.md +++ b/content/community/support.md @@ -4,7 +4,8 @@ title: Where To Get Support layout: community sectionid: community permalink: community/support.html -redirect_from: "support.html" +redirect_from: + - "support.html" --- **React** is worked on full-time by Facebook's product infrastructure and Instagram's user interface engineering teams. They're often around and available for questions. diff --git a/content/community/videos.md b/content/community/videos.md index e6c3a54ad..55585db32 100644 --- a/content/community/videos.md +++ b/content/community/videos.md @@ -4,7 +4,8 @@ title: Videos layout: community sectionid: community permalink: community/videos.html -redirect_from: "docs/videos.html" +redirect_from: + - "docs/videos.html" --- Videos dedicated to the discussion of React and the React ecosystem. diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index bcf66fd00..886c77601 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -2,7 +2,8 @@ id: add-react-to-a-website title: Add React to a Website permalink: docs/add-react-to-a-website.html -redirect_from: "docs/add-react-to-an-existing-app.html" +redirect_from: + - "docs/add-react-to-an-existing-app.html" prev: getting-started.html next: create-a-new-react-app.html --- diff --git a/content/docs/codebase-overview.md b/content/docs/codebase-overview.md index 36bf95e40..68de02cdd 100644 --- a/content/docs/codebase-overview.md +++ b/content/docs/codebase-overview.md @@ -5,7 +5,8 @@ layout: contributing permalink: docs/codebase-overview.html prev: how-to-contribute.html next: implementation-notes.html -redirect_from: "contributing/codebase-overview.html" +redirect_from: + - "contributing/codebase-overview.html" --- This section will give you an overview of the React codebase organization, its conventions, and the implementation. diff --git a/content/docs/composition-vs-inheritance.md b/content/docs/composition-vs-inheritance.md index 4df4fad45..5f8175377 100644 --- a/content/docs/composition-vs-inheritance.md +++ b/content/docs/composition-vs-inheritance.md @@ -2,7 +2,8 @@ id: composition-vs-inheritance title: Composition vs Inheritance permalink: docs/composition-vs-inheritance.html -redirect_from: "docs/multiple-components.html" +redirect_from: + - "docs/multiple-components.html" prev: lifting-state-up.html next: thinking-in-react.html --- diff --git a/content/docs/conditional-rendering.md b/content/docs/conditional-rendering.md index 68d0d0056..82bfa4eda 100644 --- a/content/docs/conditional-rendering.md +++ b/content/docs/conditional-rendering.md @@ -4,7 +4,8 @@ title: Conditional Rendering permalink: docs/conditional-rendering.html prev: handling-events.html next: lists-and-keys.html -redirect_from: "tips/false-in-jsx.html" +redirect_from: + - "tips/false-in-jsx.html" --- In React, you can create distinct components that encapsulate behavior you need. Then, you can render only some of them, depending on the state of your application. diff --git a/content/docs/create-a-new-react-app.md b/content/docs/create-a-new-react-app.md index bacad5492..4d692f76f 100644 --- a/content/docs/create-a-new-react-app.md +++ b/content/docs/create-a-new-react-app.md @@ -2,7 +2,8 @@ id: create-a-new-react-app title: Create a New React App permalink: docs/create-a-new-react-app.html -redirect_from: "docs/add-react-to-a-new-app.html" +redirect_from: + - "docs/add-react-to-a-new-app.html" prev: add-react-to-a-website.html next: cdn-links.html --- diff --git a/content/docs/design-principles.md b/content/docs/design-principles.md index 719ede5e4..61bf41495 100644 --- a/content/docs/design-principles.md +++ b/content/docs/design-principles.md @@ -4,7 +4,8 @@ title: Design Principles layout: contributing permalink: docs/design-principles.html prev: implementation-notes.html -redirect_from: "contributing/design-principles.html" +redirect_from: + - "contributing/design-principles.html" --- We wrote this document so that you have a better idea of how we decide what React does and what React doesn't do, and what our development philosophy is like. While we are excited to see community contributions, we are not likely to choose a path that violates one or more of these principles. diff --git a/content/docs/implementation-notes.md b/content/docs/implementation-notes.md index 1a204069a..7f0eaa84e 100644 --- a/content/docs/implementation-notes.md +++ b/content/docs/implementation-notes.md @@ -5,7 +5,8 @@ layout: contributing permalink: docs/implementation-notes.html prev: codebase-overview.html next: design-principles.html -redirect_from: "contributing/implementation-notes.html" +redirect_from: + - "contributing/implementation-notes.html" --- This section is a collection of implementation notes for the [stack reconciler](/docs/codebase-overview.html#stack-reconciler). diff --git a/content/docs/optimizing-performance.md b/content/docs/optimizing-performance.md index f93b1fa30..86770905c 100644 --- a/content/docs/optimizing-performance.md +++ b/content/docs/optimizing-performance.md @@ -2,7 +2,8 @@ id: optimizing-performance title: Optimizing Performance permalink: docs/optimizing-performance.html -redirect_from: "docs/advanced-performance.html" +redirect_from: + - "docs/advanced-performance.html" --- Internally, React uses several clever techniques to minimize the number of costly DOM operations required to update the UI. For many applications, using React will lead to a fast user interface without doing much work to specifically optimize for performance. Nevertheless, there are several ways you can speed up your React application. diff --git a/content/docs/rendering-elements.md b/content/docs/rendering-elements.md index 7ed7aed67..d56b00001 100644 --- a/content/docs/rendering-elements.md +++ b/content/docs/rendering-elements.md @@ -2,7 +2,8 @@ id: rendering-elements title: Rendering Elements permalink: docs/rendering-elements.html -redirect_from: "docs/displaying-data.html" +redirect_from: + - "docs/displaying-data.html" prev: introducing-jsx.html next: components-and-props.html --- diff --git a/content/docs/state-and-lifecycle.md b/content/docs/state-and-lifecycle.md index 86c1e1a3b..804ee2dc9 100644 --- a/content/docs/state-and-lifecycle.md +++ b/content/docs/state-and-lifecycle.md @@ -2,7 +2,8 @@ id: state-and-lifecycle title: State and Lifecycle permalink: docs/state-and-lifecycle.html -redirect_from: "docs/interactivity-and-dynamic-uis.html" +redirect_from: + - "docs/interactivity-and-dynamic-uis.html" prev: components-and-props.html next: handling-events.html --- diff --git a/content/docs/web-components.md b/content/docs/web-components.md index 46befd587..e0e8183b9 100644 --- a/content/docs/web-components.md +++ b/content/docs/web-components.md @@ -2,7 +2,8 @@ id: web-components title: Web Components permalink: docs/web-components.html -redirect_from: "docs/webcomponents.html" +redirect_from: + - "docs/webcomponents.html" --- React and [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) are built to solve different problems. Web Components provide strong encapsulation for reusable components, while React provides a declarative library that keeps the DOM in sync with your data. The two goals are complementary. As a developer, you are free to use React in your Web Components, or to use Web Components in React, or both.