-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
# solid-relay-example | ||
# Solid Relay Example | ||
|
||
This is a SolidStart project that uses Solid Relay, demonstrating various features: | ||
|
||
- Basic GraphQL/Relay features like queries, fragments, mutations, paginations, etc. | ||
- Suspense and Transitions integration | ||
- SSR support, including streaming of `@defer`red queries | ||
- Preloading support with Solid Router | ||
- Server side fetching with `"use server"` on the network layer | ||
|
||
## Running the example | ||
|
||
Due to a Relay compiler requirement, [Watchman](https://facebook.github.io/watchman/) should be installed to run the compiler in watch mode. | ||
|
||
```sh | ||
pnpm i | ||
pnpm dev | ||
``` | ||
|
||
The command will launch the SolidStart dev server, the Relay compiler, and the example GraphQL API server. |