This is problem carried over from @ngrx/store (see: 273, 348).
AoT requires static objects in module definitions, so dynamic initial state is only possible with:
- At least support for an initialState function
or
- Putting a meta-reducer on top of everything for this purpose alone (as described in my comment on 348). The second case seems unnecessarily unnecessarily complicated for something so easy to support in the library itself.