But is it really the only alternative to store all of these properties in a single giant object?
It's the only one I can think of.
What I want is to remove all the state from every component.
So I can write my components like this.
functionSomeView(state,actions){// optionally some setup step... but not too muchreturn// awesome stuff}
For the state management could be a pattern like the ones described in here or here, or any other suggestion. Those are not exactly what I want but they are really close.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's the only one I can think of.
What I want is to remove all the state from every component.
So I can write my components like this.
For the state management could be a pattern like the ones described in here or here, or any other suggestion. Those are not exactly what I want but they are really close.