skip to Main Content

Javascript – Reactjs routing composed routes

I'm having some difficulty with react routing and having trouble comprehending composed routes. I've attempted some code, but unfortunately, it's not functioning as expected. The "/" path works perfectly fine, however, when I attempt to access "/child", it doesn't seem…

VIEW QUESTION

Reactjs – Linking to the another page, but getting output on the same page (Below) REACT

App.js :- function App() { return ( <div className="App"> <header className="App-header"> <div className="bg-slate-700 w-100 flex flex-col justify-center h-full"> <h1 className="font-bold text-white text-center justify-center "> User Authentication </h1> <form className="flex flex-col p-6 m-8 space-y-2 rounded-md bg-white "> <div className="text-cyan-500 text-center ">…

VIEW QUESTION

Javascript – React Router creating a Route with a path defined by an API array of objects blocked by React Query

I am using React-Query besides React-Router and I can not extract the data with React-Query in App.jsx. function App() { const { isLoading, software } = useSoftware(); return ( <QueryClientProvider client={queryClient}> <ReactQueryDevtools initialIsOpen={false} /> <BrowserRouter> <GlobalStyles /> <Routes> <Route element={<AppLayout…

VIEW QUESTION
Back To Top
Search