The Vite + React + Relay example demonstrates how to use Relay with a Vite + React based WunderGraph project.
First, run the development server:
Open http://localhost:3000 with your browser to see the result.
Create the utility functions needed to work with Relay
Wrap your app component with
You can now start using Relay within the project
Learn more about WunderGraph + Relay
To learn more about WunderGraph Relay integration, read our Quickstart Guide