I am creating a real-time control panel that uses an API for data. The application is an isomorphic response application built on top of the node API, I use the Flux architecture, more specifically the alt implementation .
My question is that there are 4/5 real-time graphs on the dashboard (I use the React D3 library) , each diagram calls the API endpoint. I have a main component <Dashboard />inside which each diagram component lives. My question is, should I <Dashboard />be responsible for listening to the data and transmitting it, although as a requisite or should each component of the graph be responsible for its own storage / action life cycle? If I transfer the data through the details, would this mean that the user interface will change more than is required?
I still need to find React / Dashboard / Charting sample applications, so if anyone knows this would be very helpful.
source
share