next.jsでserver/client component間のstate的なのを扱うの?

クエリパラメータとかcookieとか使うらしい、サーバーとやりとりする感覚でやればいい?