reactjs/react.dev

Add Flow types to website source

Open

#24 opened on Oct 6, 2017

View on GitHub
 (16 comments) (0 reactions) (0 assignees)JavaScript (7,898 forks)github user discovery
difficulty: mediumgood first issuein-progresstype: website

Repository metrics

Stars
 (11,763 stars)
PR merge metrics
 (PR metrics pending)

Description

Replace PropTypes with Flow types for our components in www (and make sure yarn flow checks these types to protect against regressions).

I got the ball rolling with commit 1de4c66

This Twitter thread also has some interesting discussion for auto-generating Flow types for Gatsby's graphql queries.

Contributor guide