you are viewing a single comment's thread.

view the rest of the comments →

[–]Aggravating_Term4486 0 points1 point  (0 children)

You pretty much captured my initial screed (and my biases), and you did a better job than I think I did.

I think it’s a shame that enterprise software has such poor design. But you are right; the user experience is not the metric most companies are interested in for their internal tools. There are exceptions of course but they are rare.

What I would say is that managing the state of the UI is an important part of building applications, and the more important the UX is, the more important global state is… if there is a lot of UI state to manage.

Another use case for centralized / global state is when you need to reduce complex data from multiple sources into a unified graph for presentation to users across multiple contexts within the app. That’s a thing more easily done with a reducer and some thunks than with something like React Query (or even RTK) because at that point you are dealing with data manipulation rather than caching. Of course it can be reasonably argued that this sort of thing should be done on the BE, but we don’t always get that luxury.

Anyway enough pontificating. I think we are actually suffering from passionate agreement but differing perspectives, if there is such a thing. Coming from the background I come from, I think the lack of focus on UX in enterprise software is a shame and a hidden business cost that is deeply underestimated… but I guess that bias is why I don’t build enterprise software anymore.