Closed gparuthi closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click on the icon next to each commit.
I guess I will understand the bigger picture if I see it being used in another context.
Yes things will make a lot more sense when we actually use this code for funtionality.
Add client side graphql query example. Follows this example. In the current example, first rendering is done on server-side. Subsequent ones are done on client side. For simple stuff, e.g. when static content is generated and no modifications are done by the user, only server-side is preferred (that is the prior code). For dynamic stuff, client side is needed.
Adds API endpoint that acts as a proxy between Hasura and client