Closed andtos90 closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
dapp-crowdpunk | ❌ Failed (Inspect) | Feb 14, 2024 7:51pm | ||
dapp-neokingdom | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 14, 2024 7:51pm |
dapp-teledisko | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 14, 2024 7:51pm |
vanilla-dao | 🛑 Canceled (Inspect) | Feb 14, 2024 7:51pm |
Description:
See #156
This PR introduces a few improvements to the DX experience:
Types for data fetched by SWR
Autocomplete while writing Graphql queries
Typed variables when using SWR to fetch the data
Typesafe Graphql queries (for example queries parameters)
Most of the changes are relative to TS types and this PR doesn't introduce or change any functionality for the final user. Specifically, the main changes are the following:
graphql
fromgrapql-codegen
to parse graphql queriesTasks:
Additional configuration:
pnpm i
open the VsCode code palette (cmd+shif+p) and typeTypeScript: Select TypeScript version