From ecf038e520edf351c68a9c1bc446159752c7ad62 Mon Sep 17 00:00:00 2001 From: Andrey Nikonov Date: Sun, 4 Feb 2018 10:41:31 +0300 Subject: [PATCH] Update reference-react-component.md There is no #createclass anchor on /docs/react-api.html page anymore. --- content/docs/reference-react-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/reference-react-component.md b/content/docs/reference-react-component.md index e33e2c9a..7a86838d 100644 --- a/content/docs/reference-react-component.md +++ b/content/docs/reference-react-component.md @@ -31,7 +31,7 @@ class Greeting extends React.Component { } ``` -If you don't use ES6 yet, you may use the [`create-react-class`](/docs/react-api.html#createclass) module instead. Take a look at [Using React without ES6](/docs/react-without-es6.html) to learn more. +If you don't use ES6 yet, you may use the `create-react-class` module instead. Take a look at [Using React without ES6](/docs/react-without-es6.html) to learn more. Note that **we don't recommend creating your own base component classes**. Code reuse is primarily achieved through composition rather than inheritance in React. Take a look at [these common scenarios](/docs/composition-vs-inheritance.html) to get a feel for how to use composition.