Interactive Tutorials #1990
Unanswered
AlecAivazis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The GraphQL Foundation is running a Call for Projects. For my submission, I proposed building an interactive tutorial (simliar to https://learn.svelte.dev/) for users just getting started with GraphQL. The goal is to provide users with an environment to learn GraphQL from first principals, teaching best practices along the way while avoiding as many framework-specifics as possible. Clearly there will be to be some client specifics so that we have practical examples for critical features like fragments and so with that in mind I think its worth explicitly stating a few things:
More concretely, content-wise, a single tutorial would have multiple "chapters". Each chapter would introduce a topic with some text and provide a directory of source code to provide a starting point with a panel that shows the rendered application. There would also be a button for users that just want to see the "solution" which would load a pre-defined file system. Once the user achieves the goal outlined by the introduction text, we could then have more discussion about that end state. Potentially providing line-specific highlighting so correlating across the moving parts is easier. That will require overwriting their content with our desired end state (which impacts the ability to string one body of work across multiple chapters) but maybe that's an okay compromise for a specific tutorial.
All reactions