From 19fbeaa60a28169cae2e6870aec791f80d4b0302 Mon Sep 17 00:00:00 2001 From: vancezeng <62455057+vancezeng@users.noreply.github.com> Date: Sat, 26 Sep 2020 17:28:32 +0800 Subject: [PATCH] fix typo in README --- step1-04/demo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step1-04/demo/README.md b/step1-04/demo/README.md index b4eb781e..61322a3a 100644 --- a/step1-04/demo/README.md +++ b/step1-04/demo/README.md @@ -23,7 +23,7 @@ The first parameter to `render()` looks a lot like HTML, but actually, it's [JSX A React component is a piece of code that returns a portion of your application. This can include HTML markup, CSS styles, and JavaScript driven functionality. -Components can be created in two ways. The first is method is to use a [JavaScript class](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), which extends (inherits from) the `React.Component` class. +Components can be created in two ways. The first method is to use a [JavaScript class](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), which extends (inherits from) the `React.Component` class. Classes in JavaScript provide a way to collect methods (functions) and properties (values) in an extensible container. We extend `React.Component` because it provides us with several built-in methods, including `render`.