Use getComponentNameFromNode