DEV Community

loading...

Discussion on: How to sync props to state properly in React Hooks

Collapse
paramharrison profile image
Paramanantham Harrison Author • Edited

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