This happens when you export an anonymous function as your component. If you name the function (component) and then export it, it will show up in the React Dev Tools properly.
const MyComponent = (props) => {}
export default MyComponent;
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…