Open chetryJyoti opened 1 year ago
Example:App.js
<Routes> <Route index element={<Welcome />} /> <Route path="dash" element={<DashLayout />}> <Route path="users"> <Route index element={<UsersList />} /> <Route path=":id" element={<EditUser />} /> <Route path="new" element={<NewUserForm />} /> </Route> </Route> </Routes>
The ReacTree:
Suggestion: If we could also view the routes it would be much easier to understand the application structure.
+1 for this
Example:App.js
The ReacTree:
Suggestion: If we could also view the routes it would be much easier to understand the application structure.