Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Discovery Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • MVP
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Purpose Built
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

TypeScript Articles

Written by thoughtbot, your expert partner for design and development.

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. The trouble with TypeScript enums

    Enums are perfect for modeling a set of options. Or are they?

    Wil Hall
    March 9, 2020
    • TypeScript
    • Enum
    • Union Types
  2. Announcing Fishery – a JavaScript and TypeScript Factory Library

    We have just released Fishery, a TypeScript-compatible library for setting up JavaScript objects for use in tests and anywhere else you need to set up data.

    Stephen Hanson
    February 5, 2020
    • TypeScript
    • JavaScript
    • Testing
    • Web
  3. The Case for WET Tests

    We can always make our test suite more DRY. But should we?

    Amanda Beiner
    December 10, 2019
    • Testing
    • TypeScript
    • JavaScript
    • React
  4. The case for Discriminated Union Types with Typescript

    Why Discriminated Union Types are an important part of modeling solutions with TypeScript.

    Alejandro Dustet
    September 30, 2019
    • Union Types
    • TypeScript
    • JavaScript
    • Web
  5. Mocking React components with Jest

    Mocking in Jest can be tricky. Mocking React Components in Jest with ES modules can be even tricker. Yet, it’s still possible.

    Edward Loveall
    September 24, 2019
    • React
    • Testing
    • JavaScript
    • TypeScript
    • Node.js
  6. Type-safe state modeling with TypeScript and React Hooks

    Utilize the power of Typescript to model your React application’s state and context with confidence.

    Wil Hall
    August 23, 2019
    • TypeScript
    • React
    • Hooks
    • State
    • Context
  7. TDDing in React with Apollo and TypeScript

    Pointers for doing TDD with React using Apollo and TypeScript.

    Alejandro Dustet
    June 25, 2019
    • Testing
    • TDD
    • TypeScript
    • JavaScript
    • GraphQL
    • Apollo
    • React
    • Web
  8. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed icon Check out our feeds
« First ‹ Prev 1 2

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2025 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy