DEV Community

Discussion on: Front End Frameworks in 2019

Collapse
 
devpato profile image
Pato

Can you explain this line "State in components is (mostly) a bad idea" are you talking the state handle by Ngrx, Vuex or Redux (Angular, Vue, React... respectively) if that's what you mean, can you tell me where did you get that the industry says that state is a bad idea? I have heard than handling the state of the apps with the tools mentioned above is the way to go. I just want to make sure we are talking about the same.

Collapse
 
gc_psk profile image
Giancarlo Buomprisco

Hi Pato - what I meant by that is that we used to write state entirely in components, and as we all know that was difficult to manage, which made new libraries such as Redux emerge. This is not backed by any objective figure, of course, only my opinion.