You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I managed to install and setup everything with RNN, I tried the basic navigation such register the screen and setRoot to display a component but I facing the issue that my View in never render or running. One more thing the TopBar is display and the title of the TopBar also display if I set it via the static options, even console.log also not running. It's seem like that my component is not registered.
import React from 'react';
import {View} from 'react-native';
import {NavigationFunctionComponent} from 'react-native-navigation';
import Text from '../../components/Text';
import createStyles from '../../theme/baseStyles';
const InitialView: NavigationFunctionComponent = () => {
return (
<View style={[styles.flex1, styles.contentCenter]}>
<Text>Initial View</Text>
</View>
);
};
InitialView.options = {
topBar: {
title: {
text: 'Initial View',
},
},
};
const styles = createStyles();
export default InitialView;
What was the expected behaviour?
No response
Was it tested on latest react-native-navigation?
I have tested this issue on the latest react-native-navigation release and it still reproduces.
What happened?
After I managed to install and setup everything with RNN, I tried the basic navigation such register the screen and setRoot to display a component but I facing the issue that my View in never render or running. One more thing the TopBar is display and the title of the TopBar also display if I set it via the static options, even console.log also not running. It's seem like that my component is not registered.
What was the expected behaviour?
No response
Was it tested on latest react-native-navigation?
Help us reproduce this issue!
In what environment did this happen?
React Native Navigation version: 7.37
React Native version: 0.72
Has Fabric (React Native's new rendering system) enabled: yes
Node version: v16
Device model: Simulator
iOS version: 16
The text was updated successfully, but these errors were encountered: