|
|
|
|
|
by cjonas
1802 days ago
|
|
The whole point of react is to avoid the stateful nightmare created by the latter approach. When given Y, render X. I'm glad it's not easy to escape the paradigm. I know there are cases where it's needed but it's rare (at least in my line of work). |
|
I found this ironic, as I have never in my life had more struggles with state, than when working with react native. Seriously, the amount of times something didn't update, or was updating way too many times, is countless. It's so easy to shoot yourself in the foot. Imperative native programing, almost never have this issue.