re: How to sync props to state properly in React Hooks VIEW POST

FULL DISCUSSION
 

Beware though, as syncing props and state is usually an anti-pattern.

 

True, we need to avoid syncing as much as possible. This is just to show an example

code of conduct - report abuse