Js file updated, weex how to reload the page, using WXSDKInstance.reloadPage (true), does not work

js file updated, want to reload the page (non-restart application), weex how to reload the page, use WXSDKInstance.reloadPage (true), no matter how to reload the page

Mar.12,2021

the simple answer is to re-load the weex instance while destroying the old one.
you probably don't quite understand how weex works. ReloadPage simply reloads the js file that is already in memory-the old one.


[_ instance destroyInstance];
_ instance = [[WXSDKInstance alloc] init];
.
destroy the existing one, then re-create an instance and reload

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-1b3af18-34604.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-1b3af18-34604.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?