Good question! It's because the function that gets passed into React.memo is anonymous, so dev tools doesn't know what to call it even though the component itself is called Header.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good question! It's because the function that gets passed into
React.memo
is anonymous, so dev tools doesn't know what to call it even though the component itself is calledHeader
.