With GraphQL, you can define the shape of your data in a schema, and GraphQL will fulfill the request with the precise data you need. When you need it. This doesn't come without a cost. GraphQL adds a lot of complexity to your application by requiring you to define your schemas through types, mutations, and resolvers.
AppSync is a fully managed serverless GraphQL service that fast-tracks your API development. You can define a single type, and AppSync auto-generates a schema, queries, mutators, and subscriptions for you.
In this course, Nader Dabit will show you how to:
There are portions of this course that have changed a bit since it was recorded, but it is still useful for developers interested in using AWS AppSync. The module versions have changed, but the API is largely the same. The React parts of this course make use of class components. If you'd like to convert the code to use Hooks, check out Shareable Custom Hooks by Joe Previte.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.
In this course, you'll work through refactoring a component to use a custom hook, and learn to apply the patterns used by the React team to your own code.
Kent will take a React codebase that uses classes and refactor the entire thing to use function components as much as possible. You'll also look at state, side effects, async code, caching, and more.
In this course, you'll see examples of converting Class Components to Function Components and how they relate to one another.