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

Function omitChildren

src/components/connect.js:64–68  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

62})
63
64const omitChildren = function omitChildren(obj) {
65 // eslint-disable-next-line no-unused-vars
66 const { children, ...rest } = obj
67 return rest
68}
69
70function connect(mapPropsToRequestsToProps, defaults, options) {
71 const finalMapPropsToRequestsToProps = mapPropsToRequestsToProps || defaultMapPropsToRequestsToProps

Callers 3

constructorMethod · 0.85
componentDidUpdateMethod · 0.85
refetchDataFromPropsMethod · 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…