Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: Can't find variable: state #26104

Closed
King2231 opened this issue Aug 19, 2019 · 1 comment
Closed

ReferenceError: Can't find variable: state #26104

King2231 opened this issue Aug 19, 2019 · 1 comment
Labels
Bug Resolution: Locked This issue was locked by the bot.

Comments

@King2231
Copy link

Using React-native: 0.60.4. I am getting the above error when I redirect from my newpassword screen to login screen. The login screen works fine if loaded normally or when directed post logout. But whenever user uses forgotpassword and changes password using OTP and he is redirected to login the above error is thrown and the app crashes.

fixed: http://facebook.github.io/react-native/docs/upgrading.html
image

React Native version: 0.60.4

Describe what you expected to happen:
The login page should have worked the way it works normally.

I am not very sure if this is an issue with RN so i have also posted on Stackoverflow.

https://stackoverflow.com/questions/57553509/referenceerror-cant-find-variable-state-in-react-native-0-60-4

@King2231 King2231 added the Bug label Aug 19, 2019
@dulmandakh
Copy link
Contributor

Please look for variable state and make sure it's declared before use.

@facebook facebook locked as resolved and limited conversation to collaborators Oct 4, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants