Why props are immutable in React?
Predictable UI
Since props can’t be changed by the child, the data flow is unidirectional (Parent → Child).
This makes your UI predictable and easier to debug.
Pure Components & Performance Optimization
Immutable props allow React to do shallow...
bikash8848.hashnode.dev2 min read