Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Commit bee9cd3

Browse files
committed
feat(bootstrap): define initilAppState
1 parent 4718e37 commit bee9cd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/bootstrap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {App} from './components/app';
1919

2020
// bootstrap the Angular app with bindings
2121
bootstrap(App, [
22+
bind('initilAppState').toValue({}), // initial state that could be server rendered
2223
// define any componentInjectableBindings
2324
routerInjectables,
2425
// if we want to use ShadowDom

0 commit comments

Comments
 (0)