Why Discriminated Union Types are an important part of modeling solutions with TypeScript.
Mocking in Jest can be tricky. Mocking React Components in Jest with ES modules can be even tricker. Yet it’s still possible.
Utilize the power of Typescript to model your React application’s state and context with confidence.
Pointers for doing TDD with React using Apollo and TypeScript.