bamlab / react-native-formik

Set of helpers to make form awesome with React Native and Formik
MIT License
398 stars 50 forks source link

undefined is not a function ‘evaluating a(b.apply... #59

Open wesleyguirra opened 5 years ago

wesleyguirra commented 5 years ago

what happen with this error? I dont know what to do, I have remove node_modules and npm install again, it doesn't work. what should I do?

https://i.stack.imgur.com/9fXZU.png

Almouro commented 5 years ago

Hi @wesleyguirra,

Can you share a bit of the code that's failing?

wesleyguirra commented 5 years ago

Hi @Almouro thank you for response,

the error happens, when I tried to do this: export default compose(makeInputGreatAgain, withNextInputAutoFocusInput)(CustomInput);

the error happens when I use compose function from recompose, either using from redux.

Almouro commented 5 years ago

@wesleyguirra thanks, can you show how you import makeInputGreatAgain and withNextInputAutoFocusInput?

wesleyguirra commented 5 years ago

import makeInputGreatAgain, { withNextInputAutoFocusForm, withNextInputAutoFocusInput } from "react-native-formik";

sorry for late response.