Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
concerned_user
on March 20, 2018
|
parent
|
context
|
favorite
| on:
Gestalt: A set of React UI components that support...
Because proptypes actually catch stuff during runtime, flow not so much. Maybe I have a wrong setup, but that is the case for me.
aviraldg
on March 20, 2018
|
next
[–]
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
on March 20, 2018
|
prev
[–]
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?
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: