doesn't work when using stack navigator (react navigation): null is not an object
See original GitHub issueWhen going back to the previous screen the app is crashing and I got this error: TypeError: null is not an object (evaluating 'canvas.getContext')
.
Otherwise its drawing on the proper screen.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
createStackNavigator is causing null is not an object ...
I get this error message even if I'm only importing createStackNavigator. If comment out the import, the app works normally. My package.json ...
Read more >React Navigation Error - null is not an object (evaluating ...
Hi,. I'm new to both react-native and react navigation, I've followed the docs exactly to get started. However, when I pasted the code...
Read more >Troubleshooting | React Navigation
Troubleshooting. This section attempts to outline issues that users frequently encounter when first getting accustomed to using React Navigation.
Read more >Troubleshooting - React Navigation
This section attempts to outline issues that can happen during setup and may not be related to React Navigation itself. Also see common...
Read more >Navigation prop reference
Navigation prop reference. Each screen component in your app is provided with the navigation prop automatically. It looks like this: this.props.navigation.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello i think this should fix your problem :
@kasback Indeed its working ! Thank you guys @iddan