React-Native Route Flux does not work

Asked

Viewed 36 times

1

I tried to do everything, when I compiled after having installed the Flux Router, an error appeared saying that I was in need of some modules, such as React-Native-Gesture-Handler and React-Native-screens after I did the installation of them compiled, when I ran the command React-Active start however the App does not open already RELOAD and nothing, appears the following message that shows in the image... I have changed several parts of my code but nothing, happens the same error.

Print do erro que aparece ao executar react-native start e da um reload no app

1 answer

1


Apparently the <Router> does not accept several components <Scene> at once, try to involve these components in the <Stack>, does not forget to import it.

<Router>
    <Stack key="root">
        <Scene >
        ...
    </Stack>
</Router>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.