3 ms·
> The entire purpose of what people do with state management and contexts is to decouple this. I think I now understand what you're saying. You're saying peopl
by feoren 4y ago
> The entire purpose of what people do with state management and contexts is to decouple this.
I think I now understand what you're saying. You're saying people spend lots and lots of time trying to work around this exact problem, which is introduced by Angular, React, Vue, et al. Realize that this is entirely an extrinsic problem introduced by "component-based" architecture and that a different approach (HTML as one output of the program) avoids this entirely. Managing state is still hard (as it always is), but there's nothing that needs to be decoupled in the first place. It's similar to how "design patterns" are really workarounds for the limitations of OO programming: Redux is a workaround for the limitations of React.