@octanejs/app-core 0.1.7 → 0.1.9

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": "@octanejs/app-core",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -79,10 +79,10 @@
79
79
  "esbuild": "^0.28.1"
80
80
  },
81
81
  "peerDependencies": {
82
- "octane": "^0.13.2"
82
+ "octane": "^0.15.0"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@types/node": "^24.13.3",
86
- "octane": "0.13.2"
86
+ "octane": "0.15.0"
87
87
  }
88
88
  }
@@ -69,10 +69,10 @@ export function createLayoutWrapper(Layout, Page, pageProps) {
69
69
  export function createRootBoundaryWrapper(Content, boundary, runtime) {
70
70
  let body = Content;
71
71
 
72
- // Compose the catch boundary closest to the route. A Suspense boundary is
73
- // allowed to retain its pending shell when an unhandled server render error
74
- // reaches it, so putting Suspense inside ErrorBoundary would prevent the
75
- // configured catch component from observing ordinary route errors.
72
+ // Compose the catch boundary closest to the route. As in React, the server
73
+ // never renders it: a server route error reaches the Suspense boundary, which
74
+ // ships the pending shell for the browser to render the route, where the
75
+ // catch component observes a repeated error before Suspense would.
76
76
  if (boundary.catch) {
77
77
  const child = body;
78
78
  const Catch = boundary.catch;