Skip to content

Commit 2da06a7

Browse files
authored
Fix broken Props vs State link (#3765)
1 parent 1a4e21a commit 2da06a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/faq-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ category: FAQ
1515
[`props`](/docs/components-and-props.html) (short for "properties") and [`state`](/docs/state-and-lifecycle.html) are both plain JavaScript objects. While both hold information that influences the output of render, they are different in one important way: `props` get passed *to* the component (similar to function parameters) whereas `state` is managed *within* the component (similar to variables declared within a function).
1616

1717
Here are some good resources for further reading on when to use `props` vs `state`:
18-
* [Props vs State](https://github.com/uberVU/react-guide/blob/main/props-vs-state.md)
18+
* [Props vs State](https://github.com/uberVU/react-guide/blob/master/props-vs-state.md)
1919
* [ReactJS: Props vs. State](https://lucybain.com/blog/2016/react-state-vs-pros/)
2020

2121
### Why is `setState` giving me the wrong value? {#why-is-setstate-giving-me-the-wrong-value}

0 commit comments

Comments
 (0)