Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
concerned_user
8y ago
0 comments
Share
Because proptypes actually catch stuff during runtime, flow not so much. Maybe I have a wrong setup, but that is the case for me.
undefined | Better HN
0 comments
default
newest
oldest
aviraldg
8y ago
There's a Babel plugin that transforms your code to do runtime typechecks based on your Flow type annotations:
https://codemix.github.io/flow-runtime
markl42
8y ago
If you already have static type checking, is that not enough? Are there scenarios where proptypes will throw/show warnings at runtime that flow wasn't able to catch at build time?
j
/
k
navigate · click thread line to collapse