React native for android run very slow when not enable “Debug JS”

后端 未结 5 1518
南旧
南旧 2021-02-05 03:33

I am developing an app using react native, I use some code base for ios and android, the ios version run smoothly.

But the android version run very slowly. the weird thi

5条回答
  •  礼貌的吻别
    2021-02-05 04:19

    Sometimes, one or more than one active console.log() lines cause this issue. console.log lines should be searched and deleted if they exist.

    Also in production, babel-plugin-transform-remove-console can be used to clear all console.* methods automatically.

提交回复
热议问题