What is the right way to segment a page ?
Unanswered
Florida White posted this in #help-forum
Florida WhiteOP
Hello everyone,
I'm trying to convert my application to the new app router system.
And i fell on quit a dilemma.
I want to separate on some pages my elements to use the new loading/error/page system of the router.
I tried something called parallel routes but had two problem with it :
- It seems it does not only work for the current tree element but also for all of it sub element (i don't know if it's because I import it in the layout)
- sometimes in sub tree elements, it just doesn't work.
My question is :
Is parallel routing the good solution for what i'm looking for and why does it sometimes doesn't work ?
I'm trying to convert my application to the new app router system.
And i fell on quit a dilemma.
I want to separate on some pages my elements to use the new loading/error/page system of the router.
I tried something called parallel routes but had two problem with it :
- It seems it does not only work for the current tree element but also for all of it sub element (i don't know if it's because I import it in the layout)
- sometimes in sub tree elements, it just doesn't work.
My question is :
Is parallel routing the good solution for what i'm looking for and why does it sometimes doesn't work ?