8000 add what-is-react-component.md · learnreactjs/learnreactjs@8eb835b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8eb835b

Browse files
committed
add what-is-react-component.md
1 parent bd1d761 commit 8eb835b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# What is React Component?
2+
3+
> Components let you split the UI into independent, reusable pieces, and think about each piece in isolation.
4+
5+
Components are like JavaScript functions. They accept arbitrary inputs (called "props") and return React elements describing what should appear on the screen.

0 commit comments

Comments
 (0)
0