|
|
|
|
|
by Jcampuzano2
1513 days ago
|
|
This is categorically false. If you want to update props in a stateful component it is exactly the same - just pass new props. If you instead are talking about syncing props with state, there are ways to do this as well without changing the key, but this is considered an anti-pattern in the first place. This sounds more like bashing react without even knowing it very well in the first place. |
|
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-d...