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
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
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
Previous: What is the setting of the routing guard in vue?
Next: How to determine the generic type returned by Arrays.asList in java?
...
the following exception is reported on Kupai 8712s Android 4.4 phone: reportJSException > instanceId:, exception function:initFramework, exception:futex lock pi failed: Function not implemented, 1eb7 1ada (0 1eb7 0 0) could you tell me how to break ...
problem description height can be set under iOS, but not under Android. Are there any children s shoes that encounter the same problem? is there a solution related codes <mask style={{ height: 20, position: absolute ,backgroundColor: rgba(...