skip to Main Content

Can Javascript useNavigate from root directory?

I'm trying to redirect a user after they click on a text with useNavigate, the route that i'm trying to use is "behind" the current route whereas useNavigate redirects "forward". code: <span onClick={() => navigate(`portfolio/${user}`)} className="text-orange-400 cursor-pointer" > {profile?.name} </span>…

VIEW QUESTION

Html – Modal component in React

I'm creating bookshop application. I'm quite freshmen in programing world. Whole application is created in react. My mission is to create modal component from existing "update" component. The main component is books where is an update button, I would like…

VIEW QUESTION
Back To Top
Search