next-learn
next-learn copied to clipboard
Partial Pre Rendering is not working on production when using searchParams in a rsc page as props
hello. when im using searchParams as props like below:
const Page = ({ searchParams, }: { searchParams?: { page?:string, order?:string } }) => { ....
and then use Suspense on the component that actual data fetching is happening inside it, then its not working in production. but when i remove the searchParams and pass the params manually to the fetcher component then it will work