8000 add what-is-component-state.md · learnreactjs/learnreactjs@02208cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 02208cc

Browse files
committed
add what-is-component-state.md
1 parent cf8279e commit 02208cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# What is Component State?
2+
3+
Most components simply take in props and render. But, components also offer state, and it is used to store information/data about the component that can change over time. Typically the change comes as a result of user events or system events (i.e. as a response to user input, a server request, or the passage of time).

0 commit comments

Comments
 (0)
0