Create React App
Learn how to use Flow with Create React App
Create React App
already supports Flow by default. All you need to do is
install Flow and create a .flowconfig
file by running
flow init
.
create-react-app my-app && cd my-app
yarn add --dev flow-bin
yarn run flow init
Flow will be run as part of create-react-app’s scripts.
Was this guide helpful? Let us know by sending a message to @flowtype.