function AnotherComponent(){ return "Another"; } // Store in a variable, object, array, etc. const list = [ AnotherComponent ]; // Store back in a CamelCase-named variable: const ComponentAnother = list[0]; // Use as a <Tag /> <ComponentAnother />
function AnotherComponent(){ return "Another"; } // Store in a variable, object, array, etc. const list = [ AnotherComponent ]; // Store back in a CamelCase-named variable: const ComponentAnother = list[0]; // Use as a <Tag /> <ComponentAnother />