|
|
|
|
|
by fendy3002
1113 days ago
|
|
Hooks are complicated, but state/props is just right. Both enables you to enforce boundary and make contained components. If props and state are mixed / diluted, the component won't know when to do re-render and there'll be too many things to track, and there'll be many classic issues such as cyclic dependency and sluggish performance of two-way data binding. Hopefully you'll click on it someday |
|