In one context of react article I was told that react should have state and prop both but the reason is not mentioned so why react should have sate and props both