the_real_ryan_knight
the_real_ryan_knight
TTCTheo's Typesafe Cult
Created by showduhtung on 12/27/2024 in #questions
how to pass searchParams around in next app server components?
Its easy to get stuck on forcing what you want with server comps and I get it.
13 replies
TTCTheo's Typesafe Cult
Created by showduhtung on 12/27/2024 in #questions
how to pass searchParams around in next app server components?
@showduhtung: Yeah I think you simply have a composition problem you are dealing with. I've been there too where you want to keep things all server components blah blah blah, but at the end of the day you just simply cannot without prop drilling, or creating a client component. I'm sure with enough home brewing you could come up with something... Id highly recommend changing your architecture of the features by utilizing client components as needed for search params.
13 replies