MCPcopy Index your code

hub / github.com/redux-form/redux-form / functions

Functions474 in github.com/redux-form/redux-form

↓ 1,313 callersMethodtoBe
* toBe just checks that a value is what you expect. It uses === to check * strict equality.
flow-typed/npm/jest_v25.x.x.js:616
↓ 442 callersMethodtoHaveBeenCalledTimes
* Use .toHaveBeenCalledTimes to ensure that a mock function got called exact * number of times.
flow-typed/npm/jest_v25.x.x.js:697
↓ 427 callersMethodtoHaveBeenCalled
* Use .toHaveBeenCalled to ensure that a mock function got called.
flow-typed/npm/jest_v25.x.x.js:691
↓ 327 callersMethodtoEqual
* Use .toEqual when you want to check that two objects have the same value. * This matcher recursively checks the equality of all fields, rather th
flow-typed/npm/jest_v25.x.x.js:687
↓ 256 callersFunctiongetIn
(state: Object | Array<any>, field: string)
src/structure/plain/getIn.js:4
↓ 203 callersFunctionreducer
(state: any = empty, action: Action)
src/createReducer.js:766
↓ 149 callersFunctionpropsAtNthRender
(spy, callNumber)
src/__tests__/reduxForm.spec.js:35
↓ 118 callersFunctionsetIn
(state: Object | Array<any>, field: string, value: any)
src/structure/plain/setIn.js:39
↓ 80 callersFunctionmakeStore
(initial = {}, logger)
src/__tests__/reduxForm.spec.js:50
↓ 70 callersMethodtoBeTruthy
* Use .toBeTruthy when you don't care what a value is, you just want to * ensure a value is true in a boolean context.
flow-typed/npm/jest_v25.x.x.js:666
↓ 70 callersMethodtoHaveBeenCalledWith
* Use .toHaveBeenCalledWith to ensure that a mock function was called with * specific arguments.
flow-typed/npm/jest_v25.x.x.js:733
↓ 64 callersFunctiondeleteIn
(state: Object | Array<any>, field: string)
src/structure/plain/deleteIn.js:59
↓ 63 callersFunctionmakeStore
src/__tests__/Field.spec.js:26
↓ 60 callersMethodtoBeFalsy
* Use .toBeFalsy when you don't care what a value is, you just want to * ensure a value is false in a boolean context.
flow-typed/npm/jest_v25.x.x.js:635
↓ 53 callersFunctioncreateFieldProps
( { getIn, toJS, deepEqual }: Structure<any, any>, name: string, { asyncError, asyncValidating,
src/createFieldProps.js:77
↓ 52 callersFunctiongetValue
(event: Event, isReactNative: ?boolean)
src/events/getValue.js:18
↓ 42 callersFunctionmakeStore
src/__tests__/FieldArray.spec.js:25
↓ 41 callersFunctionchange
( form: string, field: string, value: any, touch?: boolean, persistentSubmitErrors?: boolean )
src/actions.js:237
↓ 41 callersFunctionmakeStore
src/__tests__/Fields.spec.js:21
↓ 40 callersMethodsubmit
()
src/createReduxForm.js:1037
↓ 38 callersFunctioncreateFieldArrayProps
( { getIn }: Structure<any, any>, name: string, form: string, sectionPrefix?: string, getValue: Func
src/createFieldArrayProps.js:30
↓ 35 callersFunctiontestProps
(state, config = {})
src/__tests__/Field.spec.js:35
↓ 29 callersMethodtoThrow
* Use .toThrow to test that a function throws when it is called. * If you want to test that a specific error gets thrown, you can provide an * a
flow-typed/npm/jest_v25.x.x.js:781
↓ 28 callersFunctioninitialize
( form: string, values: Object, keepDirty?: boolean | Object, otherMeta: Object = {} )
src/actions.js:289
↓ 27 callersFunctiondeleteInWithCleanUp
(state: DIM | DIL, path: string)
src/deleteInWithCleanUp.js:22
↓ 27 callersMethodtoBeInstanceOf
* Use .toBeInstanceOf(Class) to check that an object is an instance of a * class.
flow-typed/npm/jest_v25.x.x.js:656
↓ 23 callersFunctionsplice
(array: Array<any>, index: number, removeNum: number, value: any)
src/structure/plain/splice.js:2
↓ 23 callersFunctiontestBothWays
(a, b, expectation)
src/structure/immutable/__tests__/deepEqual.spec.js:5
↓ 23 callersFunctiontestProps
(state, config = {})
src/__tests__/FieldArray.spec.js:34
↓ 22 callersFunctionsubmit
(form: string)
src/actions.js:362
↓ 21 callersFunctionpropChecker
(formState, renderSpy = noop, config = {})
src/__tests__/reduxForm.spec.js:81
↓ 21 callersFunctionunregisterField
( form: string, name: string, destroyOnUnmount: boolean = true )
src/actions.js:390
↓ 20 callersFunctionblur
( form: string, field: string, value: any, touch: boolean )
src/actions.js:226
↓ 20 callersFunctiondeepEqual
(a: any, b: any)
src/structure/plain/deepEqual.js:21
↓ 20 callersFunctionsetIn
( state: ImmutableMap<string, any> | ImmutableList<any>, field: string, value: any )
src/structure/immutable/setIn.js:38
↓ 20 callersFunctiontestBothWays
(a, b, expectation)
src/structure/plain/__tests__/deepEqual.spec.js:5
↓ 19 callersFunctionstopSubmit
( form: string, errors: ?Object )
src/actions.js:352
↓ 18 callersFunctionhandleSubmit
( submit: SubmitFunction, props: Props, valid: boolean, asyncValidate: Function, fields: string[] )
src/handleSubmit.js:84
↓ 16 callersFunctionarraySplice
( form: string, field: string, index: number, removeNum: number, value: any )
src/actions.js:174
↓ 16 callersFunctiontouch
(form: string, ...fields: string[])
src/actions.js:385
↓ 15 callersFunctionsetSubmitFailed
( form: string, ...fields: string[] )
src/actions.js:367
↓ 14 callersFunctionarrayRemove
( form: string, field: string, index: number )
src/actions.js:149
↓ 14 callersFunctionrenderForm
(Form, formState, config = {}, ref)
src/__tests__/reduxForm.spec.js:71
↓ 14 callersFunctionsetSubmitSucceeded
( form: string, ...fields: string[] )
src/actions.js:376
↓ 14 callersFunctiontestProps
(state, config = {})
src/__tests__/Fields.spec.js:30
↓ 13 callersFunctionclearSubmit
(form: string)
src/actions.js:249
↓ 13 callersFunctionkeys
(value: ?T)
src/structure/plain/keys.js:6
↓ 13 callersFunctionmakeForm
(renderSpy = noop)
src/__tests__/reduxForm.spec.js:58
↓ 12 callersFunctioncreateReducer
(structure: Structure<M, L>)
src/createReducer.js:65
↓ 12 callersFunctionisEvent
(candidate: any)
src/events/isEvent.js:2
↓ 12 callersFunctionupdateSyncErrors
( form: string, syncErrors: Object = {}, error: any )
src/actions.js:408
↓ 11 callersFunctionpropsAtLastRender
src/__tests__/reduxForm.spec.js:36
↓ 11 callersFunctionsilenceEvent
(event: any)
src/events/silenceEvent.js:4
↓ 10 callersFunctionclearFields
( form: string, keepTouched: boolean, persistentSubmitErrors: boolean, ...fields: string[] )
src/actions.js:269
↓ 10 callersFunctioncreateReduxForm
(structure: Structure<any, any>)
src/createReduxForm.js:271
↓ 10 callersFunctionpropsAtNthRender
(componentSpy, callNumber)
src/__tests__/Form.spec.js:29
↓ 9 callersFunctionarrayPush
( form: string, field: string, value: any )
src/actions.js:139
↓ 9 callersFunctiongenerateValidator
( validators: Object, { getIn }: Structure<any, any> )
src/generateValidator.js:19
↓ 9 callersFunctionstartSubmit
(form: string)
src/actions.js:337
↓ 9 callersFunctionupdateSyncWarnings
( form: string, syncWarnings: Object = {}, warning: any )
src/actions.js:418
↓ 8 callersFunctionarraySplice
(state, field, index, removeNum, value)
src/createReducer.js:109
↓ 8 callersFunctionarraySwap
( form: string, field: string, indexA: number, indexB: number )
src/actions.js:191
↓ 8 callersFunctioncheckValidPropGivenErrors
(errors, expectation)
src/__tests__/reduxForm.spec.js:319
↓ 8 callersFunctionisSubmissionError
(error: any)
src/SubmissionError.js:17
↓ 8 callersFunctionuntouch
( form: string, ...fields: string[] )
src/actions.js:400
↓ 8 callersFunctionwithReduxForm
src/ReduxFormContext.js:15
↓ 7 callersFunctioncreateField
(structure: Structure<any, any>)
src/createField.js:17
↓ 7 callersFunctiondestroy
(...form: string[])
src/actions.js:279
↓ 7 callersFunctionmakeStore
src/__tests__/FormSection.spec.js:25
↓ 7 callersFunctiononChangeValue
( event: Event, { name, parse, normalize }: { name: string, parse?: Function, normalize?: Fu
src/events/onChangeValue.js:6
↓ 7 callersFunctionresetSection
( form: string, ...sections: string[] )
src/actions.js:321
↓ 7 callersFunctionstopAsyncValidation
( form: string, errors: ?Object )
src/actions.js:342
↓ 6 callersFunctionarrayInsert
( form: string, field: string, index: number, value: any )
src/actions.js:113
↓ 6 callersFunctionasyncValidation
( fn: Callback, start: StartCallback, stop: StopCallback, field: string )
src/asyncValidation.js:8
↓ 6 callersFunctioncheckInvalidPropGivenErrors
(errors, expectation)
src/__tests__/reduxForm.spec.js:385
↓ 6 callersFunctioncreateGetFormSyncErrors
({ getIn, empty }: Structure<any, any>)
src/selectors/getFormSyncErrors.js:5
↓ 6 callersFunctiondefaultShouldAsyncValidate
({ initialized, trigger, // blurredField, // not used in default implementation pristine, syncValid
src/defaultShouldAsyncValidate.js:10
↓ 6 callersFunctionisObject
src/ConnectedField.js:18
↓ 6 callersFunctionreset
(form: string)
src/actions.js:316
↓ 5 callersFunctionarrayMove
( form: string, field: string, from: number, to: number )
src/actions.js:124
↓ 5 callersFunctionarrayPop
(form: string, field: string)
src/actions.js:134
↓ 5 callersFunctionarrayRemoveAll
( form: string, field: string )
src/actions.js:158
↓ 5 callersFunctionclearSubmitErrors
( form: string )
src/actions.js:254
↓ 5 callersFunctioncreateFieldArray
(structure: Structure<any, any>)
src/createFieldArray.js:29
↓ 5 callersFunctioncreateFields
(structure: Structure<any, any>)
src/createFields.js:46
↓ 5 callersFunctioncreateIsValid
(structure: Structure<any, any>)
src/selectors/isValid.js:6
↓ 5 callersFunctiondefaultShouldError
({ values, nextProps, // props, // not used in default implementation initialRender, lastFieldValid
src/defaultShouldError.js:15
↓ 5 callersFunctiondefaultShouldValidate
({ values, nextProps, // props, // not used in default implementation initialRender, lastFieldValid
src/defaultShouldValidate.js:15
↓ 5 callersFunctiondefaultShouldWarn
({ values, nextProps, // props, // not used in default implementation initialRender, lastFieldValid
src/defaultShouldWarn.js:15
↓ 5 callersFunctioneventPreventDefault
src/ConnectedField.js:22
↓ 5 callersFunctionfocus
(form: string, field: string)
src/actions.js:284
↓ 5 callersFunctiongetFormState
src/selectors/__tests__/isValid.spec.js:11
↓ 5 callersFunctionmakeStore
(initial = {}, logger)
src/__tests__/Form.spec.js:36
↓ 5 callersFunctionregisterField
( form: string, name: string, type: FieldType )
src/actions.js:306
↓ 5 callersFunctionshallowCompare
( instance: { props: any, state?: any }, nextProps: Object, nextState?: Object )
src/util/shallowCompare.js:23
↓ 5 callersFunctionsilenceEvents
(fn: Function)
src/events/silenceEvents.js:4
↓ 4 callersFunctionarrayShift
( form: string, field: string )
src/actions.js:166
↓ 4 callersFunctionarrayUnshift
( form: string, field: string, value: any )
src/actions.js:206
↓ 4 callersFunctionclearAsyncError
( form: string, field: string )
src/actions.js:261
↓ 4 callersFunctioncreateDeleteInWithCleanUp
(structure: Structure<DIM, DIL>)
src/deleteInWithCleanUp.js:11
next →1–100 of 474, ranked by callers