Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question