From a1f0f84a1fed569789af8cc00f6a5809032023db Mon Sep 17 00:00:00 2001 From: Matt Wood Date: Mon, 9 Mar 2020 07:52:33 -0500 Subject: [PATCH] Update components docs for functional components (#2547) * Update components docs for functional components * Update components-and-props.md Co-authored-by: Sunil Pai --- content/docs/components-and-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/components-and-props.md b/content/docs/components-and-props.md index d2e52c92..7a170170 100644 --- a/content/docs/components-and-props.md +++ b/content/docs/components-and-props.md @@ -44,7 +44,7 @@ class Welcome extends React.Component { The above two components are equivalent from React's point of view. -Classes have some additional features that we will discuss in the [next sections](/docs/state-and-lifecycle.html). Until then, we will use function components for their conciseness. +Function and Class components both have some additional features that we will discuss in the [next sections](/docs/state-and-lifecycle.html). ## Rendering a Component {#rendering-a-component}