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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onelaraveljs",
3
- "version": "1.21.3",
3
+ "version": "1.21.4",
4
4
  "description": "OneLaravel JS Framework Core & Compiler",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -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.debug(`🔍 App.View.loadView: Using cached view for '${name}' with URL path '${urlPath}'`);
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.debug(`🔍 App.View.loadView: Using new instance view for '${name}' with URL path '${urlPath}'`);
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.setAttribute('data-server-rendered', 'false');
174
+ container.removeAttribute('data-server-rendered');
175
175
  }
176
176
  }, 100);
177
177
  } else {