TTC
Theo's Typesafe CultMike (grind edition πŸ’ͺ)

Nextjs parallel routing questions

I have this routing setup right,
{
(main) {
about {}
contact {}
(illustrations) {
@admin {page.tsx}
@user {page.tsx}
illustartions {
[id] {
{page.tsx}
}
}
}
}
}
{
(main) {
about {}
contact {}
(illustrations) {
@admin {page.tsx}
@user {page.tsx}
illustartions {
[id] {
{page.tsx}
}
}
}
}
}
Where do I put the layout.tsx for the illustrations group?
Solution:
Yes
I
iDarkLightningβ€’32d ago
inside the group?
MGE
Mike (grind edition πŸ’ͺ)β€’32d ago
yes But I efel as if since it would be within the group the layout would apply to the (main) group
I
iDarkLightningβ€’32d ago
that's not a sentence
MGE
Mike (grind edition πŸ’ͺ)β€’32d ago
Yeah, it's 12:22 am here, lost my ability to construct a cohesive sentence
I
iDarkLightningβ€’32d ago
if you put it in (illustrations) it will only apply for that group down
MGE
Mike (grind edition πŸ’ͺ)β€’32d ago
Oh, alright! but will it still effect the dynamic route?
Solution
I
iDarkLightningβ€’32d ago
Yes
MGE
Mike (grind edition πŸ’ͺ)β€’32d ago
Ok, thank you!
Want results from more Discord servers?
Add your server
More Posts
How can I subscribe to updates in an RSS feed?I want to subscribe to changes on a shopify store’s RSS feed for their products. It seems extremely How can I configure tRPC to function as a REST API (single-route)?I'm new to tRPC and not sure why this produces an error when an external POST request is sent to theT3 Stack: tRPC not extending type definitions to clientHey, I'm currently trying to work on getting my 'next build' script to work and ran into a bunch of Total noob! Supabase and the t3 stackIm really struggling with configuring my create-t3-app with supabase. Can anyone point me in the dirHow to exclude specific routes from Clerk middleware?Anyone know how I can exclude the middleware from Clerk from running on my routes in folder: /api/crFor Sr+ Engineers: Frontend, Backend, or Full-stack?For the engineers that have been around a while, been successful in what they started with, and starIt works locally but doesn't save to the database when deployed on Vercel.It's working fine on my local machine, but after deploying to Vercel, it's not saving data to the daError on NextJs AppRouterAnyone knows why this is showing on my console?useFormState in tables, or complex formsI decided to play with the new server components and useFormState. I am building myself the table shHow are signals going to be any different that state variables in React?I was just watching Theo's videos on signals coming to javascript (https://www.youtube.com/watch?v=JNext redirect() gives date.getTime() errorI use lucia auth with nextjs. And all things are okay until i add `redirect('/blog/login')` fuction Prisma/tRPC query failing 1/2 the time, but only in ProdSo I have an app, in my local dev environment, everything is working as expected in regards to the DTailwind CSS dynamically add classesAre there docs or some guidelines on how the tailwind unused css class purging works exactly and howNo typesaftey for dynamic returns``` // BE publicProcedure.input(z.object({shouldPopulateRelation: z.boolean()})).query(({ input, ctxHow do you cache tRPC server responses w/Next App Router?**What is the correct way to define the cache for tRPC endpoints with `create-t3-app@7.30.1` & Next I want to get information from the indexedDB and include this in the first render, without delayThe issue is that react code needs to be hydrated before being executed, so you can't get info from getting error while fetching from uploadthingi am creating a next.js project where user can upload pdf file which we save using upload thing and Next Auth google says redirect URI is broken but works on another projectHi! I am working on a project and I keep getting the error: Access blocked: This app’s request is Next not doing SSG routes?? Am I missing something?Hi, I need to do this page ssg instead of dynamic server rendered, i dont have any dependencies so iHow to fix jupyterhub issueAnyone have any experience with jupyterhub? I'm getting: TimeoutError: pod jupyterhub/jupyter-zfjry