Avoid Anonymous Components With the displayName Property

There are a few cases where the React DevTools can’t infer a name for a component. Use the displayName property to avoid anonymous components in the DevTools.

Published · Last updated
Loading...