Flow Type
See original GitHub issueThe facebook team mentioned they aren’t actively developing propTypes anymore, and are switching everything over to Flow: https://github.com/facebook/react/issues/1833#issuecomment-148297807
I’ve played around with Flow a bit, but it’s not quite there yet (haste on CI?) and, while I think we should switch to it eventually, I think we should do it after it has matured a bit. (v4?)
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Flow: A Static Type Checker for JavaScript
Using data flow analysis, Flow infers types and tracks data as it moves through your code. You don't need to fully annotate your...
Read more >facebook/flow: Adds static typing to JavaScript to ... - GitHub
Flow. CircleCI Follow @flowtype MIT License GitHub contributors GitHub top language Join Discord Chat. Flow is a static typechecker for JavaScript.
Read more >Flow Type Cheat Sheet - SaltyCrane
Flow Type Cheat Sheet. Flow is a static type checker for JavaScript. This is a list of Flow types generated from the source...
Read more >Overview of the different types of flows - Microsoft Learn
In this article. Cloud flows; Desktop flows; Business process flows; More info. Power Automate is a service that you can use to automate ......
Read more >Typescript vs Flow. Which static type checker should you use ...
The type definition syntax of Flow and TypeScript is very similar. They both support JavaScript primitive types and derived types for type ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Now that React team has officially began the deprecation process for PropTypes in 15.5, now is probably a good time to make a decision on this. My vote is for adding support for Flow with a clear opt out documentation.
@mxstbr my two cents on this discussion. I think you can also consider TypeScript as an alternative (choice during setup ?), since RBP already uses webpack + ES6 imports it may not be very hard to configure.