iamshaunjp / iamshaunjp/react-native-tutorial

Error: Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager.

Abierto
#28 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
605
Forks
499
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

While i followed the project in lesson 20, i got this error..
Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager.

All of my file is the same, what did i do wrong?

My App.js file:
```
import { useState } from 'react';
import * as Font from 'expo-font';
import AppLoading from 'expo-app-loading';
import Navigator from './routes/homeStack';

const getFonts = () => Font.loadAsync({
'eduSABeginner-regular': require('./assets/fonts/EduSABeginner-Regular.ttf'),
'eduSABeginner-bold': require('./assets/fonts/EduSABeginner-Bold.ttf')
});

export default function App() {
const [fontsLoaded, setFontsLoaded] = useState(false);

if (fontsLoaded) {
return (

);
} else {
return (
setFontsLoaded(true)}
onError={() => console.log('error')} />
)
}
}
```

My homeStack.js file:
```
import { createStackNavigator } from "react-navigation-stack";
import {createAppContainer} from "react-navigation";
import HomePage from '../screens/HomePage';
import ReviewDetails from "../screens/ReviewDetails";

const screens = {
HomePage: {
screen: HomePage,
},
ReviewDetails: {
screen: ReviewDetails,
}
};

const HomeStack = createStackNavigator(screens);
export default createAppContainer(HomeStack);
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.