GeekyAnts / GeekyAnts/NativeBase

Changes aren't being reflected when using expo template.

Open
#4,922 5 comments 0 reactions 1 assignee Claimed by @ankit-tailor View on GitHub
bug stale triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

When creating the app using the expo cli and the native-base template as provided by https://docs.nativebase.io/install-expo, making a change and saving the file doesn't immediately get reflected onto the screen. It takes sometimes two or three reloads to reflect the changes on the device.

### CodeSandbox/Snack link

NA

### Steps to reproduce

1. run `expo init my-app --template @native-base/expo-template`
2. cd my-app
3. `yarn ios`
4. once the emulator is open, open App.tsx and make some change.
5. Save the file and notice that expo is reloading the app but changes aren't reflected
6. Save the file again, notice that changes will now be reflected.

### NativeBase Version

3.3.7

### Platform

- [X] Android
- [ ] CRA
- [X] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

Note that this doesn't happen in a vanilla expo project without native base installed.

Also not using the template and manually installing native base yields the same result. I tried this by creating a vanilla expo project (didn't have the issue) installed native base (issue came back
[Catalog.zip](https://github.com/GeekyAnts/NativeBase/files/8478312/Catalog.zip)
)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.