In upstream components like App.js, I can identify the list of child components being imported:
import SorryForDumbQuestion from './SorryForDumbQuestion';
But I'm struggling the other way around. When I look inside SorryForDumbQuestion.js there is an export code saying "I want to export this component" but it doesn't tell me where. Rightfully so, especially for reusable components. But in reality I want to know the consumers, and I don't know the best way to do that.
Best may be subjective as there are many ways of doing this, but is there an established good-practice way? For example I could:
export default SorryForDumbExamples;
// to be used by App.js
rely on IDE
create documentation
remember this in my brain