forFeaturemethod. All the other syntax for how you import and describe them are the same. For example:
NgxsModule.forRoot([ZoosState]). Assume you've got a feature
NgxsModule.forFeature([OfficesState]). After the lazy module is loaded - the global state will have such signature:
store.snapshot()and printing the result to the console before and after the lazy module is loaded. .