Open dragonwong opened 6 years ago
The practice is so less, such as inherit:
In propTypes, it is easy:
propTypes
ComponentA.propTypes = { someProp: ComponentB.propTypes.someProp, };
But I just don't know how to write with flow.
Flow makes my code look like shattered.
Flow as Replacement for PropTypes Flow Type Cheat Sheet
1
The practice is so less, such as inherit:
In
propTypes
, it is easy:But I just don't know how to write with flow.
2
Flow makes my code look like shattered.
Flow as Replacement for PropTypes Flow Type Cheat Sheet