fix: improvement in instructions (#50668)

Co-authored-by: Anmol Sarraf <anmolsarraf@Anmols-MacBook-Pro.local>
This commit is contained in:
Anmol Sarraf
2023-06-29 19:35:58 +03:00
committed by GitHub
co-authored by Anmol Sarraf
parent ebc9343e8f
commit 614e7b33d5
@@ -28,7 +28,7 @@ When React encounters a custom HTML tag that references another component (a com
In the code editor, there is a simple functional component called `ChildComponent` and a class component called `ParentComponent`. Compose the two together by rendering the `ChildComponent` within the `ParentComponent`. Make sure to close the `ChildComponent` tag with a forward slash.
**Note:** `ChildComponent` is defined with an ES6 arrow function because this is a very common practice when using React. However, know that this is just a function. If you aren't familiar with the arrow function syntax, please refer to the JavaScript section.
**Note:** `ChildComponent` is defined with an ES6 arrow function because this is a very common practice when using React.
# --hints--