/react-flow-babel

Type checking with Flow, React, Babel and Webpack

Primary LanguageJavaScript

react-flow-babel

Type checking with Flow, React, Babel and Webpack

Adding static type checking to your React project is easy with Flow. I’ll go through the steps for setting up Flow using Babel and Webpack. Familiarity with the CLI and Yarn or NPM is important. This tutorial is intended for those just getting started with Flow. For those seeking a more advanced tutorial, see the official Flow docs. They are a great resource for learning more about Flow.

We’ll start with a project that already uses Webpack and Babel. If you want to add Webpack and Babel to your project or want to start from scratch, checkout React, Webpack and Babel from scratch.

This tutorial will pick up where we left off with my previous tutorial on Javascript Linting and Formatting with ESLint, Prettier, and Airbnb. If you want, you can clone the repo and start from there.