阅读背景:

[React] Remove React PropTypes by using Flow Annotations (in CRA)

来源:互联网 

Starting from v15.5 if we wanted to use React's PropTypes we had to change our code to use a separate node module, now we can go one step further and get rid of that extra dependency just by using flow type annotations in our create-react-app project!Starting from v15.5 if we wanted to use React's




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: