|
|
|
|
|
by csande17
1802 days ago
|
|
I don't think that's really true. React doesn't give you less problems, it just gives you different problems that aren't as immediately visible because you haven't learned to look for them yet. For example, if you're used to thinking that every page of a web app can be tested individually, you won't notice bugs in single-page apps that only happen when using specific links to arrive on pages in a specific order. |
|
In the case of single page apps, preventing you from shooting yourself in the foot is outside its scope.
What you are describing sounds more like a general problem in state management, and you'll have that with any framework. A common way to avoid such things in React applications is with Redux.
Unfortunately, even those advanced tools need to be learned and applied.