-
React Docs: Typechecking With PropTypes
https://facebook.github.io/react/docs/typechecking-with-proptypes.html
The official reference docs for PropTypes -
What are PropTypes?
https://themeteorchef.com/snippets/what-are-proptypes/
An introduction to React's PropTypes feature and how it can help create more predictable APIs for components. -
React PropTypes & Flow types cheat sheet
https://medium.com/@chenglou/react-proptypes-flow-types-cheat-sheet-ed80f8e1383d
Some quick comparisons and gotchas between the two type declaration approaches -
Accessing React PropTypes Meta-data
https://medium.com/@nunogrilopinheiro/accessing-react-proptypes-meta-data-45b3465abda7
A look at how to access PropTypes info at runtime using various tooling -
React: Validating Children
http://www.mattzabriskie.com/blog/react-validating-children
Examples of using PropTypes to enforce what children can be passed to a component
- TypeScript Deep Dive
https://basarat.gitbooks.io/typescript/content/
An online book that digs into numerous TypeScript topics
-
Setting up Flow when you've already got Babel in place
https://medium.freecodecamp.com/using-flow-with-babel-c04fdca8d14d
Instructions for integrating Flow into an existing project -
Eradicate Runtime Errors in React with Flow
http://technologyadvice.github.io/eradicate-runtime-errors-in-react-with-flow/
An introduction to Flow's benefits in a project, and how to use it -
Flow Guide: The Definitive Guide for using Flow
https://github.com/ryyppy/flow-guide
Instructions on setting up Flow, a style guide, and links to further info -
Why Use Flow?
https://blog.aria.ai/post/why-use-flow/
A look at the concepts of static typing and type inference, examples of using Flow to add type declarations to code, and pointers to further information on Flow. -
Why You Need Types
http://jaysoo.ca/2016/08/23/why-you-need-types/
Some thoughts on how static typing can help development, with examples using Flow. -
Runtime Introspection of Flow Types
https://medium.com/@joe_stant/runtime-introspection-of-flow-types-ddb7e5b042a5
A look at some ways to potentially use Flow types for further analysis using various tooling -
Phantom Types with Flow
https://medium.com/@gcanti/phantom-types-with-flow-828aff73232b
Description of an advanced technique for tracking data flow using types -
Checking React and Redux Code with Flow
http://djcordhose.github.io/react-intro-live-coding/2016_jsunconf.html#/
A slideshow that shows the basics of adding type information to Redux-based code -
Using Redux with Flow
http://frantic.im/using-redux-with-flow
Covers how to use Flow typing with Redux -
Type Checking with Flow in React + Redux
http://www.robinwieruch.de/the-soundcloud-client-in-react-redux-flow/
Demonstrates setting up static typing with an existing project -
Redux Flow Tutorial
http://dchambers.github.io/articles/redux-flow-tutorial/
Covers how to set up Flow for type-checking a Redux application
-
Flow as a replacement for PropTypes
http://blog.rstankov.com/flow-as-replacement-for-proptype/
Describes some limitations of PropTypes, and how Flow can help solve those -
Flow vs TypeScript
http://djcordhose.github.io/flow-vs-typescript/flow-typescript-2.html#/
A comparison of the features, goals, and usage of both type systems