DeepakD
Reactiflux4y ago
26 replies
Deepak

Deepak – 06-23 Oct 2

Hey, I have reducer function that does some action onClick. However, i also want to navigate the page to some other url. After initial research i came to know that i can't useNavigate() inside a reducer function. How can i combine these two ?
Solution
thanks , got it
Was this page helpful?