SetTimeout failure in React-Native

the code in setTimeout in the react-native project executes immediately, but the cause is not found, and the problem is not found in the react project.
if setInterval is used, it will also be executed immediately, and then triggered at a normal time.
I"ve tried to put setTimeout code in other js files, and I"ve also tried to put it in lifecycle functions and event triggers, which don"t have a delayed effect. I feel that there is something wrong with the configuration of the whole project. no, no, no.

I haven"t seen a similar problem after looking for it on the Internet for a long time.

casually write a delay:

clipboard.png

package.json:

clipboard.png

index.js:

clipboard.png

:

clipboard.png


try turning off chrome debugger
reference-sharp9436


I tried, but this didn't happen.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea3355-47a10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea3355-47a10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?