Nested routes allow to capture relationship in your routing.
Questions tagged [nested-routes]
462 questions
0
votes
0 answers
How can I use nested routes with props for a child component
I'm building an react app where I have a feed component and the feed component consists of array of post components. The post component contains a link in it for viewing the full post component. I'm not able to pass the respective props to the full…

Anush Lunsavath
- 3
- 2
0
votes
1 answer
Flask catching and nesting common routes
Is there a way to catch common routes to prevent repetitions of decorators(and maybe url parameters)?
My current code…

roocs
- 43
- 1
- 9
0
votes
1 answer
How do I render nested routes for a specific param value in React Router v2?
I am currently using React Router v2.8.1 in a project and, although I'd prefer to, I don't really have the option of migrating to v4+. I have a component (Admin) that deals with showing some content based on the tab param in the route, and my aim is…

Edwin
- 552
- 1
- 5
- 12
0
votes
2 answers
Angular 9 Global Alert not being triggered (nested outlet)
I am following this tutorial that has implemented a global Alert class and service to handle all erros in the app. I'm trying to implement this alert on the login component only, but the error is not being triggered and Im kind of lost because all…

Mellville
- 1,027
- 2
- 18
- 39
0
votes
1 answer
React nested routes - undefined match
First time using nested routes, so I am following this example as well as the…

Ade N
- 145
- 1
- 1
- 12
0
votes
1 answer
Nested child and subchild route with params
I'm having troubles with nested routes. Here's my situation:
Routing:
RouterModule.forRoot([
{
path: 'workerevaluation', component: MainComponent, children: [
{
path: 'details/:code', component: EmployeeDetailComponent,…
0
votes
2 answers
Reusable components static images don't load on different Routes
so basically the problem is i have some components like header or footer that are same in all pages,
and the way i addressed the image src on the route below is like this

the preacher
- 285
- 3
- 7
- 23
0
votes
2 answers
Why does simple_form raise an "No route matches [POST] "/tenants"" error with nested resources
I am trying to make a simple form for creating a new Tenant, knowning that when you create a tenant, a Devise User(with "role: "tenant") has to be created at the same time. But when I submit the form it raises a "Routing Error" (No route matches…
user12608817
0
votes
1 answer
React Suspense Loader issue on the nested routes with React-Router
I have my react application Setup Router as it looks like the code below. My application looks like reloading the entire page during the route transformation because the header is well within the Suspense, the portion has been replaced with '…

Naveen DA
- 4,148
- 4
- 38
- 57
0
votes
1 answer
Is nested routing possible in react-native?
I am using react-router-native for routing. Usually when ever new route is pushed to history the current screen will be unmounted and new screen is mounted. But As per documentation nested routing is possible in web. They haven't mentioned anything…

ThinkAndCode
- 1,319
- 3
- 29
- 60
0
votes
0 answers
target the body of the Homepage in flutter
My app has a permanent view (home) witch has an appbar + drawer + bottom navigation bar
when I click on bottom navigation bar items it replaces the body content of home with one of the pages (page1, page2, page3, page4)
It's all working well but now…

mehdouch
- 423
- 1
- 8
- 20
0
votes
2 answers
Recursively accessing key/value pairs of object within objects & combining them together into a flat array
I have an array of objects that contains all my routes. I need to access all object's nested children properties & their properties and combining the together.
My array of object looks similar to this:
const routes = [
{
path:…

Manuel Abascal
- 5,616
- 5
- 35
- 68
0
votes
1 answer
Rails controller method that updates multiple tables values
I'm writing a #create method within a controller file that subsequently updates multiple different tables.
Once I create a reservation using reservation#create in Reservation Table, it should update three other tables:
1) quantity_available and…

Eric Cheon
- 33
- 1
- 6
0
votes
1 answer
VUE Routes - Nested routes do not render
I'm hoping the community can shed some light on this matter.
I am looking to nest some routes in my Vue app (this is my first vue project).
My main routes are working, including the parent route Profile.
I have followed the documentation and gone…

Ana Ivan
- 95
- 1
- 1
- 6
0
votes
1 answer
In Angular 8 Router parent route remains the same when navigating to the route with other parent
I'm working on a project written on Angular (v8.2.8) and use router with the same version. The architecture of the routing is the following:
I have app-routing.module.ts where I have 3 entries for routes array:
Shell.childRoutes([...array of…

Viacheslav Muzyka
- 301
- 2
- 8