You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -517,7 +517,7 @@ Hide/Show table of contents
517
517
518
518
5. ### What is the difference between Element and Component?
519
519
520
-
An _Element_ is a plain object describing what you want to appear on the screen in terms of the DOM nodes or other components. _Elements_ can contain other _Elements_ in their props. Creating a React element is cheap. Once an element is created, it cannot be mutated.
520
+
An _Element_ is a plain object that describes what you want to appear on the screen in terms of the DOM nodes or other components. _Elements_ can contain other _Elements_ in their props. Creating a React _Element_ is inexpensive. Once an _Element_ is created, it cannot be mutated.
521
521
522
522
The JavaScript representation(Without JSX) of React Element would be as follows:
523
523
@@ -8171,4 +8171,4 @@ The questions provided in this repository are the summary of frequently asked qu
0 commit comments