question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scene is not exported from navigation-react-native 8.8.2

See original GitHub issue

Hi @grahammendick:

Its been a while since i’ve used navigation-react-native and i find that there are quite a lot of features and improvements thats been added in since my last usage.

My current app is tab-based and since i did lose track a bit i though i could start off by using one of the tab-based samples . Unfortunately i am getting this typescript error:

Module '"navigation-react-native"' has no exported member 'Scene'.

Im not sure if the example still holds good and probably its because of changes mentioned in #595 or if the Scene component has been removed. If it has been removed do i now go back to how it the tabs were declared in previous versions ?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
grahammendickcommented, Jun 5, 2022

Thanks. I’m gonna update the documentation to use the new api. The Fabric migration is taking up all my time though

1reaction
grahammendickcommented, Jun 4, 2022

Hey, I’ve just published the component api so the Twitter samples are working again. Thanks for you patience. I haven’t updated the docs to use the component api yet

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attempted import error: 'shouldUseActivityState' is not ...
js Attempted import error: 'shouldUseActivityState' is not exported from 'react-native-screens'.
Read more >
export 'createStackNavigator' was not found in '@react- ...
The native stack creator has a different name than the original, according to the docs: import { createNativeStackNavigator } from ...
Read more >
Navigating Between Screens
Managing the presentation of, and transition between, multiple screens is typically handled by what is known as a navigator.
Read more >
React Native Navigation: Tutorial with examples
In this React Native Navigation tutorial, we'll show you some examples of navigation patterns you can implement with React Navigation.
Read more >
Troubleshooting
This can happen if you are passing non-serializable values such as class instances, functions etc. in params. React Navigation warns you in this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found