Update note label

This commit is contained in:
Alex Krolick
2018-03-13 22:00:21 -07:00
committed by GitHub
parent 3788f5c2cf
commit d9e7b42527

View File

@@ -85,9 +85,7 @@ Let's recap what happens in this example:
3. Our `Welcome` component returns a `<h1>Hello, Sara</h1>` element as the result.
4. React DOM efficiently updates the DOM to match `<h1>Hello, Sara</h1>`.
>**Caveat:**
>
>Always start component names with a capital letter.
>**Note:** Always start component names with a capital letter.
>
>React treats components starting with lowercase letters as DOM tags. For example, `<div />` represents an HTML div tag, but `<Welcome />` represents a component and requires `Welcome` to be in scope.
>