React Core & Hooks (407 Qs)•Part 9: React Hooks Deep Dive (262 - 316)
What will happen if you use props in initial state?
mid LevelComponentsHooks
If the props on the component are changed without the component being refreshed, the new prop value will never be displayed because the constructor function will never update the current state of the component. The initialization only occurs once during mounting.