How to query custom type and filter by relationship with @prismicio/react

Hello Leslie,

Welcome to the Prism ic community, and thanks for reaching out to us.

I believe what you want to achieve we have already discussed in the following threads:

Here are some documents in React.js and technical reference:

  1. Pull in data from another document
  2. Rest API technical reference.
  3. GraphQuery API option.

Let me know if you have any further questions.

Thanks,
Priyanka