Answer the question
In order to leave comments, you need to log in
Can I call hooks in file [name2] which I wrote in file [name1]?
Essence of the question.
There is a file name1 , where I wrote the hook const [first, second] = useReducer(ddddd, new ssss([]), wwww()) Second
has data that came in the back, can I import this data into another file? If yes, how?
I apologize in advance for the poorly worded question.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question