ERROR [Error: Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.] #717
Unanswered
cryptobench
asked this question in
Q&A
Replies: 1 comment 6 replies
-
I assume this is expo router? I find the simplest thing is to put storybook inside one of your routes, like make a storybook route that is only accessible when storybook is enabled |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm trying to setup storybook with expo, but i'm facing an issue that no matter what I do it complains about navigation context because one of my components has routing in it.
I've tried wrapping the
index.tsx
in theNavigationContainer
as mentioned, but that just leads to a new error.I'm quiet lost on what to do from here, so I hope someone can help me. My root
_Layout.tsx
file simply only contains this lineexport { default } from '../.storybook';
Beta Was this translation helpful? Give feedback.
All reactions