I'm learning react-native/expo and I'm stuck on this problem for hours.
So when I type anything, the whole page re-renders. I know that because in the code I upload an image and in console I see the image uri. So when I type, I see it again and again until the app crashes.
I uploaded here the whole code because it's too long.
The flow is - Fill the form - upload image if needed - press the confirm button
I tried using useCallback
, but with no success.