Should you still do PropType checks in React components, if you are using Flow?

Responses (1)

Join the discussion

Flow-typed props are superior in almost every way to the built PropTypes.
The only drawback that you might have is that FlowType is still not well known, so people reading your code might be confused by some FlowType notations.

Write a reply...

loading ...