Type Check Redux Apps with Flow

InstructorTyler Clark

Share this video with your friends

Send Tweet

In this lesson we are going to take a React and Redux application and add flow types throughout. This includes type checking a react component, a reducer, some actions, and a connect method.

Flavio Corpa
~ 6 years ago

Why not to use the integrated Flow extension in VSCode? Definitely much better than checking the errors in the console...

Tyler Clarkinstructor
~ 6 years ago

Hey Flavio, I decided to be agnostic towards editors and use a more universal way to check for Flow errors.

Juha
~ 6 years ago

This is all nice with a small test app, but with a lot of actions of different types, having to refer to types with string literals instead on constants is tedious and error prone. Is there a way to do flow typing and referring back to constants? I have not been able to do that and now I am stuck between able to use constants or flow type. I want to have them both :)