by sktrdie · 6y ago · 0 comments
1. Note that most of the time the stakeholder is yourself and/or another developer. But can also definitely be a non-coder.
https://github.com/zalmoxisus/redux-devtools-extension/blob/...
it's also not clear how this is a replay to the above...
Regardless, yourself or another developer as the “stakeholder” in this scenario is a bit of a cop out. In the real world stakeholders aren’t technically inclined and even if they are they don’t care about this minutiae.
I tried to avoid it but your post just brought out it of me.
I work on an app that has a total of about 400 separate Redux actions across half a dozen reducers and a couple of stores. There's a lot of things that cause side effects. Being about to see what actions fired with various props is immensely useful for debugging. redux-devtools and Reactotron are immensely useful. You're right that the majority of React apps don't need to trace actions, but when you do you definitely won't think it's overrated.
I’m genuinely curious because I feel like this kind of inflation of actions/reducers in Redux is what makes it nightmarish.
The standard form is incredibly verbose, I've started to shift away from it.
That's 76 actions just for the NFS/CIFS-as-a-service UI.
(I'm not saying this is the best way to do it, but that's what's happening right now.)
I'm not going to go in to detail on HN, but the app I work on is used to make diagrams for the legal industry and to define how they change over time. It's sort of like Visio for lawyers, with a basic animation editor that understands the underlying data. There are a lot of actions simply because it does a lot of things that can't be generalised in to higher level actions (well, they could, but it'd be messy.)
I think Redux is overrated because it is used by a lot of applications that don't need it.