Co-authored-by: iChenLei <2470828450@qq.com>
Split getComponentName into getComponentNameFromFiber and getComponentNameFromType