React-native-web: checkType method very slow

Created on 2 Jul 2019  路  4Comments  路  Source: necolas/react-native-web

In my next.js / typescript project on dev mode, checkType method eats up a lot of time. Production is fine. I've been wondering lately why my project is so much slower while development, I guess a huge part is due to checkType.

Bildschirmfoto 2019-07-02 um 16 50 40

Is there any way to deactivate the strict type checking? Its becoming more and more of a problem with my growing amount of components.

Most helpful comment

All 4 comments

See #1383

React is just slower in dev.

@bkniffler could you make a pull request replacing prop-types with flow types? It should improve dev performance considerably.

Hey there, if it was typescript I'd gladly help, but I'm not familiar with flow types :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rohanprabhu picture rohanprabhu  路  3Comments

SamyPesse picture SamyPesse  路  3Comments

MovingGifts picture MovingGifts  路  3Comments

passion0470 picture passion0470  路  3Comments

roryabraham picture roryabraham  路  3Comments