Answer the question
In order to leave comments, you need to log in
Where to prepare data for visualization?
Hello, I'm using React + Redux.
There is a component that uses the store, but the data needs to be collected from its different parts, combined, calculated, etc., etc.
I try to divide everything into Container/Component. (Smart/Stupid) Where
should I do this?
Should I create a container for the component, and in this container, prepare the data and pass props to the "simple/stupid" component?
Or can a simple component itself process, prepare, display, the data transferred to the props?
I'm a little confused about what a stupid, smart component can and can't do.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question