Now, the component will only be initialized once. When a prop changes the component does nothing by default. But there are scenarios where a prop change should reinitialize the state. This could be an array of values like the dependencies of useEffect hook.