alan-sdk-reactnative icon indicating copy to clipboard operation
alan-sdk-reactnative copied to clipboard

Issue with hot reload in react native

Open snyuryev opened this issue 2 years ago • 0 comments

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

snyuryev avatar Jan 14 '22 09:01 snyuryev