MCPcopy Index your code
hub / github.com/reactjs/react-codemod / filterDefaultPropsField

Function filterDefaultPropsField

transforms/class.js:107–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 );
106
107 const filterDefaultPropsField = node =>
108 createFindPropFn(DEFAULT_PROPS_FIELD)(node);
109
110 const filterGetInitialStateField = node =>
111 createFindPropFn(GET_INITIAL_STATE_FIELD)(node);

Callers 2

canConvertToClassFunction · 0.85

Calls 1

createFindPropFnFunction · 0.85

Tested by

no test coverage detected