Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
4 replies
ippo

Simple SSR + Hydration with tRPC and Next.js 13

I would like to see a simple example, where on server side all users are queried and the view with all these users are served.
(Something like <Table data={users} />)

I also want the option to search users by name but it should hydrate the view, so I want only get JSON from the server and re-render the view.

I do not know how to do that, since I have components that require "use client"

Hope it is clear what I am looking for 😊
Was this page helpful?