i'm a bit confused about how react component works. let say i have 3 component class A, B and C. A contain B and C, and i want to render A in my HTML page
class A extends Component {
render() {
return (
<B />
<C />
);
}
}
If i change the state inside component C, do component B get re-rendered too or only component C get re-rendered? thanks :D



