skip to Main Content

Reactjs – How to make an endless route?

How to make an endless route? I have an unknown nesting, following which we need to display it in the route, for example Folder url.com/folder -Child 1 url.com/folder/child1 --Child 2 url.com/folder/child1/child2 ---Child 3 url.com/folder/child1/child2/child3 ---- Child 4 url.com/folder/child1/child2/child3/child4 ... <Route…

VIEW QUESTION

Javascript – Why is React Router not routing to a nested route?

I am using react-router-dom version 6.11.2 for my front-end routing in my App.js file: import "./App.css"; import { Route, RouterProvider, createBrowserRouter, createRoutesFromElements, } from "react-router-dom"; import RootLayout from "./layouts/RootLayout"; import { UserContextProvider } from "./store/user-context"; import NotFound404 from "./components/Utility/NotFound404"; import…

VIEW QUESTION
Back To Top
Search