MCPcopy
hub / github.com/heroku/react-refetch / getDisplayName

Function getDisplayName

src/components/connect.js:14–16  ·  view source on GitHub ↗
(WrappedComponent)

Source from the content-addressed store, hash-verified

12const defaultMapPropsToRequestsToProps = () => ({})
13
14function getDisplayName(WrappedComponent) {
15 return WrappedComponent.displayName || WrappedComponent.name || 'Component'
16}
17
18// Helps track hot reloading.
19let nextVersion = 0

Callers 1

connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…