Skip to content

Issue with hot reload in react native #18

Description

@snyuryev

Problem, when developing, the Alan button will cause a problem with the hot reload of react native. Steps to reproduce the problem:

  1. Create a new react native project
  2. Implement the most basic Alan integration: https://alan.app/docs/client-api/cross-platform/react-native/
  3. Run the project on the localhost
  4. Open the app and wait for Alan to finish loading without any other actions
  5. Change something in your code (such as adding a line of text) to trigger a hot reload
  6. You will find that the "refreshing..." prompt will pop up twice in a row, and then the app will get stuck

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions