I’m trying to wrap my head around the conceptual boundary between a layout and a component.
I.e. in which cases should I make something a re-usable, custom component using ReactJS (as described under https://dash.plotly.com/plugins ) and in which cases should I make a layout or part of it re-usable by wrapping it into a plain old Python function (as described in the Reusable Components section under https://dash.plotly.com/layout ). Any kind of input or rule of thumb would be greatly appreciated.
Main reason behind my question is that I want to write a library of re-usable components that I can use in many different (Python) dashboards. Now I’m wondering whether I should rather write them in ReactJS or Python.