Closed BigPun86 closed 6 years ago
+1 Got this too! Anyone an Idea how to fix this?
Can you try replacing your tab screens with empty <View>
components? I do not think the problem is with TabNavigator (but if it is, please let us know!)
If you use require to import the component?
@ide I tried using the TabNavigator with empty View Blocks, but it didn´t work. As soon as i use this Component it will break...
@timzaak you mean var TabNavigator = require('react-native-tab-navigator); ??? We´ll yes of course i did this...Still won´t work
@BigPun86 you should use import
,not require
@timzaak +1 worked perfectly, thanks!
I just upgraded an older project with TabNavigator to 0.20, and switched from require to import, but get the exception: "TabNavigator" is read-only
This happens even when I remove all usage of TabNavigator, and am just simply importing it.
Did you guys see this too? I see this project is using immutable but I'm not editing TabNavigator, I'm literally just using import TabNavigator from 'react-native-tab-navigator';
Will close since this issue is more than a year, feel free to a open a new if this is still a issue.
Help! Like the title says, after i have update my react native to 0.16 the TabNavigator won't work. No idea how to explain my issue. THis is the error Message:
The TabNavigator is in the renderScene of my Navigator Component....