To use React Server Components in Waku, you need to create an
entries.ts
file in the project root directory with a getEntry
function that returns a server component module. Here's an example:The
id
parameter is the ID of the React Server Component that you want to load on the server. You specify the RSC ID from the client.