Exporting an arrowhead feature straight doesn"t provide the part a displayName, yet if you export a routine feature the feature name will certainly be made use of as displayName.

export default feature MyComponent() return (); You can additionally place the feature in a variable, established the displayName on the feature by hand, and after that export it.

const MyComponent = () => (); MyComponent.displayName="MyComponent"; export default MyComponent;


tldr: button arrowhead feature to a called feature

Dust Mistake revealed: Part interpretation is missing out on display screen name react/display-name.

To fix, you can call your feature (IOW, do not utilize arrowhead feature). In this instance, I am making use of react-table as well as passing a custom-made part to provide in a cell.

No mistake:

Cell: feature OrderItems( ) return (Sight Things );, Mistake:


A method to include displayName home to confidential part feature without producing called feature is to utilize recompose:

import from "recompose"; export default make up(setDisplayName("SomeComponent"))(props => ...); Or simply:

export default Object.assign(props => ..., displayName: "SomeComponent" );


I encountered this concern as a result of home windows nvm. Since the task was developed on this variation), I was utilizing home windows nvm as well as I set up node v8.17.0(. Yet uninstalling nvm as well as setting up straight node v8.17.0 benefited me.


Many thanks for adding a response to Pile Overflow!

Please make certain to respond to the concern Offer information and also share your study!

Yet prevent ...

Requesting assistance, explanation, or reacting to various other answers.Making declarations based upon point of view; back them up with referrals or individual experience.

For more information, see our ideas on creating fantastic solutions.

Blog Post Your Solution Discard

By clicking "Article Your Solution", you consent to our regards to solution, personal privacy plan as well as cookie plan

Not the solution you'& #x 27; re trying to find? Surf various other concerns labelled reactjs eslint or ask your very own concern.

Part interpretation is missing out on screen name(react/display-name) despite the fact that the feature has a name

website layout/ logo design © © 2021 Heap Exchange Inc; customer payments accredited under cc by-sa. rev2021.10.15.40479

Your personal privacy

By clicking "Approve all cookies", you concur Heap Exchange can keep cookies on your gadget and also divulge details according to our Cookie Plan.