facebook / facebook/relay

Server Component data and Relay

Open
#4,170 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I'm using RSCs (Next 13) with Relay, and I can't figure out how one root query can satisfy the data requirements of its child client and server components, as usePreloadedQuery's data is only accessible to client components.

Is the approach then to fetch server component data separately, outside the purview of Relay?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.