Skip to content

Commit eda0b4b

Browse files
committed
add note to fallback code
1 parent 2f8f518 commit eda0b4b

File tree

1 file changed

+2
-0
lines changed
  • packages/kit/src/core/create_app

1 file changed

+2
-0
lines changed

packages/kit/src/core/create_app/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ function generate_client_manifest(manifest_data, base) {
102102
103103
export const routes = ${routes};
104104
105+
// we import the root layout/error components eagerly, so that
106+
// connectivity errors after initialisation don't nuke the app
105107
export const fallback = [c[0](), c[1]()];
106108
`);
107109
}

0 commit comments

Comments
 (0)