You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New Function process is time consuming, want to support early execution
Suggested solution
Garfish.registerApp(name, { ...xxx, execScriptCache: true});
async compileAndRenderContainer(renderContainer = true) {
// Render the application node
// If you don't want to use the CJS export, at the entrance is not can not pass the module, the require
+ if (renderContainer) {
await this.renderTemplate();
+ }
const execScript = (type: 'async' | 'defer') => {
+ if (this.execScriptCache.get(type)) {
return;
+ }
xxxx
+ if (this.appInfo.enableExecScriptCache) {
+ this.execScriptCache.set(type, true);
+ }
}
}
This results in a disordered execution flow within the application, often causing more perplexing behavior. You might consider executing the render process before actual rendering, as mounting to a temporary node can achieve similar effects.
Clear and concise description of the problem
New Function process is time consuming, want to support early execution
Suggested solution
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: