O
O
Orakin2022-01-09 15:22:37
React Native
Orakin, 2022-01-09 15:22:37

Why is react native throwing an error when I use stack and navigation?

I googled it but couldn't find anything useful. I'm not an advanced programmer in this area and I don't understand what's going on.
The error looks like this
61dad3250001c251899775.png
61dad35ccc138435029091.png61dad3807a1ca025412396.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2022-01-17
@kirbi1996

The problem is not in navigation, here the hook is used incorrectly. Look, maybe somewhere outside the component it is. And for one thing, you can familiarize yourself with the rules for using hooks on the react website

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question