Skip to content

ReferenceError: Can't find variable: state #26104

Description

@King2231

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions