expo-cli

Fast refresh in react native always fully reload the app

十年热恋 提交于 2021-02-04 08:36:41
问题 This question has been asked several times here(here the most relevant,Another example), but no solution has been proposed in any of them. So I have 2 questions to you guys: Any idea why it wouldn't work in a large project? I mean, there are any know issues with fast refresh related to the size of the project or the packages he includes that will make fast refresh stop working? There is any way to fix it? Is there a convenient way to edit an internal page in the app without using a fast

React native fast refresh ALWAYS reload app

假如想象 提交于 2020-12-15 05:20:49
问题 According to React-native docs, fast-refresh will fully reload the entire app only if you edit a file that's imported by modules outside of the React tree Now, Somewhere up the road the app started fully reload after every change in any module(even though apparently I did not change module that imported by modules outside React tree). so I tried to comment out anything in the main App.js module, but still, after save in the App.js module the fast refresh made the app fully reload. The

After upgrading to expo SDK 37.0.0 my stackNavigator header doubled in height

倾然丶 夕夏残阳落幕 提交于 2020-12-13 11:25:06
问题 "expo": "^37.0.0", "react-dom": "16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-navigation": "^4.0.9", "react-navigation-drawer": "^2.3.3", "react-navigation-stack": "^1.10.3", "react-navigation-tabs": "^2.6.0" I am facing very weird issue. My stackNavigator header is too high. After upgrading to expo 37.0.0 my header bar doubled in height and I cannot return it to normal. Here is my code for stackNavigator: const DashboardStack =

React Native Hooks Search Filter Flat List

帅比萌擦擦* 提交于 2020-05-30 08:47:06
问题 I am trying to make a Covid19 React Native Expo app. It contains a search filter from which user will select a country then the selected country results will be shown to the user. I keep getting this error on my Android device "Unexpected Identifier You" while on web pack the countries load but they dont filter correctly. Working Snack Link: https://snack.expo.io/@moeez71/ac5758 Here is my code import React, { useState, useEffect } from "react"; import { ActivityIndicator, Alert, FlatList,