in the past (without hooks), isn't it true that we can also get by if we use connect and just directly connect to LoremComponent? In the past we didn't have to use a container... but I guess if it is like a component that has 3 other components, then it makes sense to have a container...
but even so... the container can just be a presentational container... and contain 3 stateful components...
or maybe it the past, it means, to always use stateful components (to be container components), and purely non-stateful component (to be presentational components)...
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.
in the past (without hooks), isn't it true that we can also get by if we use
connect
and just directly connect toLoremComponent
? In the past we didn't have to use a container... but I guess if it is like a component that has 3 other components, then it makes sense to have a container...but even so... the container can just be a presentational container... and contain 3 stateful components...
or maybe it the past, it means, to always use stateful components (to be container components), and purely non-stateful component (to be presentational components)...