Mock It 'til You Make It
Let's automate the tedious task of building mocked query resolvers so that you never have to manually set up mocks for loading, error, no data, or default value states ever again! We'll learn how to use GraphQL and Apollo in a React application to build providers that will dynamically auto mock all the things for tests and Storybook stories. This talk assumes the audience has prior knowledge of React and GraphQL.
- With GraphQL and Apollo (and any frontend framework) you can automatically mock your query resolvers for things like unit tests and Storybook stories, so that you don't have to repeatedly manually mock things.