Tech Companies Using TypeScript & React

Tech Companies Using TypeScript & React

This article lists some open source projects maintained by some popular tech companies that use both TypeScript and React.

Airbnb

Lunar

Lunar Core React components in their Storybook documentation app

React toolkit and design language for Airbnb open source and internal projects

The Lunar repo is a mono repo that holds many packages related to Airbnb's design language. Their core package includes close to 100 React components used as building blocks in other packages. To view all the components, you need to pull down the repository in order to run their Storybook, where you can then explore all their base components.

Shopify

Polaris React

Shopify Polaris home page

Shopify’s product component library

Polaris React contains a set of React components that are part of Shopify's Polaris design system.

Quilt

List of packages provided by the quilt monorepo

A loosely related set of packages for JavaScript / TypeScript projects at Shopify

A monorepo that exports many utility packages, from jest test utilities to custom React hooks.

As an example, here is their useTimeout React hook which calls a callback function after a certain delay (using setTimeout) and also takes care of clearing the timeout when a component unmounts:

import * as React from 'react';

export default function useTimeout(callback: () => void, delay: number) {
    React.useEffect(() => {
        const id = setTimeout(callback, delay);
        return () => clearTimeout(id);
    }, [callback, delay]);
}

Microsoft

ReactXP

ReactXP home page

Library for cross-platform app development

ReactXP (which stands for React cross-platform), is a library that provides a layer of abstraction over React and React Native in order to allow code to be reused between iOS, android, and Windows applications (notice how they totally shafted MacOS from the list of supported platforms). Check out their Hello World example for a sample implementation of ReactXP.

Bot Framework Emulator

Bot Framework Emulator interface

The Bot Framework Emulator is a desktop application that allows bot developers to test and debug bots built using the Bot Framework SDK

Microsoft provides an SDK to write some bots and they've also created an emulator that allows users to test out bots created through their SDK.


As you can see, I wasn't able to find too many tech companies that have TypeScript & React open source projects. If you find any more, let me know on Twitter and I'll add them to the list.


See a typo? Edit post on GitHub
Categories:
How Yarn Lock Files Work and Upgrading DependenciesCSS Grid Is Not a Replacement for Flexbox