yogeshd 12 Apr 2023 in Public The state is only initialized during the first render. Anti pattern: Initializing state with prop This is a common example of redundant state react