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