Skip to content

Commit 6fe3a25

Browse files
committed
also preload bootstrapModules
1 parent 8721d05 commit 6fe3a25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ export class StaticRouters {
110110
<MetaContext.Provider
111111
value={{ hash: this.#hashed, dependencies: this.#dependencies }}
112112
>
113+
{bootstrapModules?.map((name, idx) => (
114+
<PreloadModule key={idx} module={name} />
115+
))}
113116
<PreloadModule
114117
module={this.#routes.get(serverSide.pathname)!.split("?")[0]}
115118
/>

0 commit comments

Comments
 (0)