onelaraveljs 1.21.3 → 1.21.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/core/ViewManager.js +2 -2
- package/src/init.js +1 -1
package/package.json
CHANGED
package/src/core/ViewManager.js
CHANGED
|
@@ -407,7 +407,7 @@ export class ViewManager {
|
|
|
407
407
|
cachedPageView.__._templateManager.pushCachedSections();
|
|
408
408
|
html = cachedLayoutPath === this.CURRENT_SUPER_VIEW_PATH ? superView.__.renderedHtml : this.renderView(superView);
|
|
409
409
|
}
|
|
410
|
-
logger.
|
|
410
|
+
logger.log(`🔍 App.View.loadView: Using cached view for '${name}' with URL path '${urlPath}'`);
|
|
411
411
|
return {
|
|
412
412
|
html: html,
|
|
413
413
|
isSuperView: superView ? true : false,
|
|
@@ -459,7 +459,7 @@ export class ViewManager {
|
|
|
459
459
|
viewStore.__._lifecycleManager.destroy();
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
|
-
logger.
|
|
462
|
+
logger.log(`🔍 App.View.loadView: Using new instance view for '${name}' with URL path '${urlPath}'`);
|
|
463
463
|
// Store view in array for tracking
|
|
464
464
|
this.PAGE_VIEW = view;
|
|
465
465
|
let superView = null;
|
package/src/init.js
CHANGED
|
@@ -171,7 +171,7 @@ function initApp(App) {
|
|
|
171
171
|
// Mark as client-side ready after a short delay
|
|
172
172
|
setTimeout(() => {
|
|
173
173
|
if (container) {
|
|
174
|
-
container.
|
|
174
|
+
container.removeAttribute('data-server-rendered');
|
|
175
175
|
}
|
|
176
176
|
}, 100);
|
|
177
177
|
} else {
|