From 2da06a71ece59553e0086073ad9ede2a06582883 Mon Sep 17 00:00:00 2001 From: Tom Lafford Date: Sun, 4 Jul 2021 09:31:07 +0100 Subject: [PATCH] Fix broken Props vs State link (#3765) --- content/docs/faq-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/faq-state.md b/content/docs/faq-state.md index a1602b0f4..c2b7b6657 100644 --- a/content/docs/faq-state.md +++ b/content/docs/faq-state.md @@ -15,7 +15,7 @@ category: FAQ [`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). Here are some good resources for further reading on when to use `props` vs `state`: -* [Props vs State](https://github.com/uberVU/react-guide/blob/main/props-vs-state.md) +* [Props vs State](https://github.com/uberVU/react-guide/blob/master/props-vs-state.md) * [ReactJS: Props vs. State](https://lucybain.com/blog/2016/react-state-vs-pros/) ### Why is `setState` giving me the wrong value? {#why-is-setstate-giving-me-the-wrong-value}