https://supertokens.com/ logo
#support-questions
Title
# support-questions
p

PPaii

07/08/2022, 3:45 PM
Hi ! I am using and . When i inputing something into the input field the page become Photo 1 , photo 2 and then photo 3. Every time i onChange the input field, these steps happen
r

rp

07/08/2022, 3:50 PM
Hey! This is hard to debug without seeing code. Can you show me the code for this component?
p

PPaii

07/08/2022, 3:52 PM
the page is wrapped by the FormPageLayout component
r

rp

07/08/2022, 3:58 PM
You only need to use the NoSSR wrapper
So remove the inner EmailPasswrodAuth
p

PPaii

07/08/2022, 4:03 PM
I removed it but the problem is still here
r

rp

07/08/2022, 4:05 PM
Hmmm. Well, this seems more like a react issue in your form as opposed to our components
If you can upload the code to GitHub, and share It, maybe we can try and replicate it
p

PPaii

07/08/2022, 4:19 PM
I think I found the problem. I am using formik. Every time I change the value , it cause the component re-render so the problem happen. It also happen on using useState. However, if I use react-hook-form, no problem happen
r

rp

07/08/2022, 4:20 PM
Hmmm. Cool! Glad you figured it out 🙂