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

Write your response…

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...

Join a friendly and inclusive Q&A network for coders

  • 🖥Pick the technologies you like & read great content through your feed.
  • 💬Ask a question when you want to learn more about anything.
  • 🚀Share what you know & build your portfolio.
Sign up nowLearn more

loading ...