News for hackers. Stuff that matters.
Re:Vue.js: the good, the meh, and the ugly by mrinterweb on Friday July 06, 2018 @01:22AM (#17469071)
I've felt the same way. Vuex, Redux, MobX, or other application state libraries, all help in the event when passing data down through components that don't care about the data they are passing along becomes tedious. I like the general idea of "data down, actions up", but when it comes to separation of concerns, what is the point of a component taking parameters that it is just going to pass to a subcomponent? When components don't use the parameters in a meaningful way, the parameters are just noise. I came to this realization after passing the same parameters down about seven levels deep through components to question the mantra. I try to avoid shared and global state, but there are times that it just becomes very useful. It is important to now and again question if the dogmatic approach is pragmatic.
Re:Vue.js: the good, the meh, and the ugly by spdionis on Friday July 06, 2018 @10:38AM (#17471716)
> seven levels deep

There's your problem I think, as other sibling comments pointed out.